Created
August 24, 2012 14:03
-
-
Save iskugor/3450924 to your computer and use it in GitHub Desktop.
Titanium atomic boomb :)
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
# run on Android | |
var i = 0; | |
var win = { | |
backgroundColor: '#000', | |
__TiElement: null, | |
__getTiElement: function() { | |
if (!this.__TiElement) { | |
this.__TiElement = Ti.UI.createWindow(this); | |
} | |
return this.__TiElement; | |
}, | |
open: function() { | |
Ti.API.info(i++); | |
this.__getTiElement().open(); | |
} | |
}; | |
win.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment