Created
July 13, 2012 01:37
-
-
Save ojimac/3102201 to your computer and use it in GitHub Desktop.
This file contains 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
function SampleWindow(_title) { | |
var self = Ti.UI.createWindow({ | |
title : _title, | |
backgroundColor : 'white' | |
}); | |
return self; | |
} | |
module.exports = SampleWindow; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Titanium Mobile SDK 2.0から対応したCommon JS形式の書き方テンプレ