Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
id: "__alloyId5"
});
$.__views.section.add($.__views.__alloyId5);
$.__views.__alloyId6 = Ti.UI.createTableViewRow({
height: "50dp",
title: "android row",
id: "__alloyId6"
});
$.__views.section.add($.__views.__alloyId6);
$.__views.section && $.addTopLevelView($.__views.section);
exports.destroy = function() {};
_.extend($, $.__views);
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;
$.__views.__alloyId20.items = __alloyId22;
var __alloyId25 = [];
__alloyId25.push($.__views.__alloyId20);
$.__views.__alloyId0 = Ti.UI.createListView({
sections: __alloyId25,
templates: __alloyId1,
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;
});
$.__views.__alloyId3.add($.__views.__alloyId4);
$.__views.popViewNavWin = Ti.UI.iOS.createNavigationWindow({
window: $.__views.__alloyId3,
id: "popViewNavWin",
backgroundColor: "green",
height: 300,
width: 250
});
$.__views.popover.contentView = $.__views.popViewNavWin;
exports.destroy = function() {};
_.extend($, $.__views);
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;
doClick ? $.addListener($.__views.__alloyId0, "click", doClick) : __defers["$.__views.__alloyId0!click!doClick"] = true;
$.__views.__alloyId1 = Ti.UI.createImageView({
image: "/appcelerator.png",
bottom: 0,
id: "__alloyId1"
});
$.__views.index.add($.__views.__alloyId1);
exports.destroy = function() {};
_.extend($, $.__views);
var util = require("util");
$.index.open();
__defers["$.__views.__alloyId0!click!doClick"] && $.addListener($.__views.__alloyId0, "click", doClick);
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;
$.__views.widget = Ti.UI.createLabel({
text: "I'm widget #1",
backgroundColor: "#a00",
color: "#fff",
height: "70dp",
width: "200dp",
top: "50dp",
id: "widget"
});
$.__views.widget && $.addTopLevelView($.__views.widget);
exports.destroy = function() {};
_.extend($, $.__views);
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;
var exports = {};
$.__views.index = Ti.UI.createWindow({
backgroundColor: "#fff",
fullscreen: false,
exitOnClose: true,
id: "index"
});
$.__views.index && $.addTopLevelView($.__views.index);
exports.destroy = function() {};
_.extend($, $.__views);
$.index.open();
alert("android");
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;
},
touchEnabled: false,
id: "label"
});
$.__views.button.add($.__views.label);
exports.destroy = function() {};
_.extend($, $.__views);
var args = arguments[0] || {};
var label = args.label || "";
args.label && ($.label.text = args.label);
__defers["$.__views.button!touchstart!doTouchstart"] && $.addListener($.__views.button, "touchstart", doTouchstart);
__defers["$.__views.button!touchend!doTouchend"] && $.addListener($.__views.button, "touchend", doTouchend);
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;
id: "index"
});
$.__views.index && $.addTopLevelView($.__views.index);
exports.destroy = function() {
__alloyId13 && __alloyId13.off("fetch destroy change add remove reset", __alloyId14);
__alloyId29 && __alloyId29.off("fetch destroy change add remove reset", __alloyId30);
};
_.extend($, $.__views);
$.index.open();
$.test.add({
title: "this is my row"
});
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;
params: {
padding: 5,
showTitle: false,
backgroundColor: "#eee",
gridColor: "#ccc"
},
width: $.fgWin.size.width
};
$.fg.createGrid(params);
}
});
$.fgWin.open();
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;
$.__views.b = Ti.UI.createButton({
width: Ti.UI.SIZE,
height: Ti.UI.SIZE,
title: "Click me",
bottom: 20,
id: "b"
});
$.__views.bottom.add($.__views.b);
exports.destroy = function() {};
_.extend($, $.__views);
Ti.API.info("bottom controller is executing");
require("specs/bottom")($);
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller;