Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Controller() {
- require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments));
- this.__controllerPath = "index";
- arguments[0] ? arguments[0]["__parentSymbol"] : null;
- arguments[0] ? arguments[0]["$model"] : null;
- arguments[0] ? arguments[0]["__itemTemplate"] : null;
- var $ = this;
- var exports = {};
- $.__views.index = Ti.UI.createWindow({
- backgroundColor: "white",
- id: "index"
- });
- $.__views.index && $.addTopLevelView($.__views.index);
- if (Alloy.isTablet) {
- $.__views.__alloyId2 = Ti.UI.createView({
- id: "__alloyId2"
- });
- $.__views.__alloyId3 = Ti.UI.createLabel({
- width: Ti.UI.SIZE,
- height: Ti.UI.SIZE,
- color: "#000",
- text: "Text",
- id: "__alloyId3"
- });
- $.__views.__alloyId2.add($.__views.__alloyId3);
- }
- $.__views.__alloyId0 = Ti.UI.createTableView({
- headerView: $.__views.__alloyId2,
- id: "__alloyId0"
- });
- $.__views.index.add($.__views.__alloyId0);
- exports.destroy = function() {};
- _.extend($, $.__views);
- $.index.open();
- _.extend($, exports);
- }
- var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
- module.exports = Controller;
Advertisement
Add Comment
Please, Sign In to add comment