{"size": 644, "ext": "js", "max_stars_repo_path": "examples/modules/_generated/app.js", "max_stars_repo_name": "AndersDJohnson/alloy", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "examples/modules/_generated/app.js", "max_issues_repo_name": "AndersDJohnson/alloy", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "examples/modules/_generated/app.js", "max_forks_repo_name": "AndersDJohnson/alloy", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.4054054054, "max_line_length": 72, "alphanum_fraction": 0.649068323}
var Alloy = require("alloy"),
	$ = Alloy.$,
	_ = Alloy._;

var $w = Ti.UI.createWindow({
	id:"#window"
});

$w.startLayout();

var $index1 = Ti.UI.createView({
	id:"#index"
});

$w.add($index1);

var $label1 = Ti.UI.createLabel();

$index1.add($label1);

// execute the controller inside a function block allowing us to 
// pass in the right scoped variable names for the controller by passing
// in the mangled names thare a local to the function block
(function(window, index){

	var foo = require("foo"),
		bar = require("vendor/bar");

	$("Label")[0].text = bar.helloize(foo.generate());
	
})($w, $index1);



$w.finishLayout();
$w.open();
