Created
January 5, 2013 17:20
-
-
Save Rockncoder/4462591 to your computer and use it in GitHub Desktop.
Original version of ApplicationWindow.js
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
| //Application Window Component Constructor | |
| function ApplicationWindow() { | |
| //load component dependencies | |
| var KeyPad = require('ui/common/KeyPad'); | |
| //create component instance | |
| var self = Ti.UI.createWindow({ | |
| backgroundColor:'#000000' | |
| }); | |
| //construct UI | |
| var keyPad = new KeyPad(); | |
| self.add(keyPad); | |
| return self; | |
| } | |
| //make constructor function the public component interface | |
| module.exports = ApplicationWindow; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment