Guest User

Untitled

a guest
Dec 17th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Controller() {
  2.     require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments));
  3.     this.__controllerPath = "index";
  4.     arguments[0] ? arguments[0]["__parentSymbol"] : null;
  5.     arguments[0] ? arguments[0]["$model"] : null;
  6.     arguments[0] ? arguments[0]["__itemTemplate"] : null;
  7.     var $ = this;
  8.     var exports = {};
  9.     $.__views.index = Ti.UI.createWindow({
  10.         backgroundColor: "white",
  11.         id: "index"
  12.     });
  13.     $.__views.index && $.addTopLevelView($.__views.index);
  14.     if (Alloy.isTablet) {
  15.         $.__views.__alloyId2 = Ti.UI.createView({
  16.             id: "__alloyId2"
  17.         });
  18.         $.__views.__alloyId3 = Ti.UI.createLabel({
  19.             width: Ti.UI.SIZE,
  20.             height: Ti.UI.SIZE,
  21.             color: "#000",
  22.             text: "Text",
  23.             id: "__alloyId3"
  24.         });
  25.         $.__views.__alloyId2.add($.__views.__alloyId3);
  26.     }
  27.     $.__views.__alloyId0 = Ti.UI.createTableView({
  28.         headerView: $.__views.__alloyId2,
  29.         id: "__alloyId0"
  30.     });
  31.     $.__views.index.add($.__views.__alloyId0);
  32.     exports.destroy = function() {};
  33.     _.extend($, $.__views);
  34.     $.index.open();
  35.     _.extend($, exports);
  36. }
  37.  
  38. var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
  39.  
  40. module.exports = Controller;
Advertisement
Add Comment
Please, Sign In to add comment