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
// JS closures | |
function buildList(list) { | |
var result = []; | |
for (var i = 0; i < list.length; i++) { | |
var item = 'item' + list[i]; | |
//alert(item + ' ' + list[i]); | |
//result.push(function() { alert(item + ' ' + list[i]) }); | |
result.push(Foo(item + ' ' + list[i])); | |
} | |
return result; |
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
06-09 10:32:34.171 1785-1785/com.sandboxapp.sandbox D/dalvikvm﹕ Late-enabling CheckJNI | |
06-09 10:32:34.191 1785-1785/com.sandboxapp.sandbox D/dalvikvm﹕ Trying to load lib /data/data/com.lbe.security.miui/app_hips/liblbeclient.so 0x423966f8 | |
06-09 10:32:34.191 1785-1785/com.sandboxapp.sandbox D/dalvikvm﹕ Added shared lib /data/data/com.lbe.security.miui/app_hips/liblbeclient.so 0x423966f8 | |
06-09 10:32:34.261 1785-1785/com.sandboxapp.sandbox I/MultiDex﹕ VM with version 1.6.0 does not have multidex support | |
06-09 10:32:34.261 1785-1785/com.sandboxapp.sandbox I/MultiDex﹕ install | |
06-09 10:32:34.261 1785-1785/com.sandboxapp.sandbox I/MultiDex﹕ MultiDexExtractor.load(/data/app/com.sandboxapp.sandbox-1.apk, false) | |
06-09 10:32:34.271 1785-1785/com.sandboxapp.sandbox I/MultiDex﹕ loading existing secondary dex files | |
06-09 10:32:34.271 1785-1785/com.sandboxapp.sandbox I/MultiDex﹕ load found 1 secondary dex files | |
06-09 10:32:34.271 1785-1785/com.sandboxapp.sandbox I/MultiDex﹕ install done | |
06-09 10:3 |