This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var head = document.getElementsByTagName( 'head' )[0]; | |
var link = document.createElement('link'); | |
link.rel = 'stylesheet'; | |
link.href = 'css/templates/' + template + '.css'; | |
head.appendChild(link); | |
var sources = [ 'js/jsrender.min.jsss', 'js/templates/' + template + '.jsss' ]; | |
for(var i=0,ii=sources.length; i<ii; i++){ | |
var script = document.createElement( 'script' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var feedsController, | |
refreshControl, | |
loadMoreDisabled; | |
loadFeeds(); | |
function loadFeeds() { | |
// this is a ListView | |
feedsController = Alloy.createController('feeds', {}); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Quang log": { | |
"prefix": "ql", | |
"body": [ | |
"Ti.API.error('Quang: $1 ' + JSON.stringify( ${2:1} ));$3" | |
] | |
}, | |
"WinManager load": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## == SYSTEM | |
## required: Android SDK Build-tools 23.0.1 | |
export ANDROID_HOME='TODO' | |
## export JAVA_HOME=$(/usr/libexec/java_home -v 1.6) | |
## export JAVA_HOME=$(/usr/libexec/java_home) |
OlderNewer