Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var win = Titanium.UI.createWindow({
- title:'Tab 1',
- backgroundColor:'#fff'
- });
- win.open();
- var DLGTest = {
- Test : function() {
- }
- };
- function Manager(foo){
- this.foo = foo;
- this.functionName = arguments.callee.name;
- this.start = function(){
- //Ti.API.info(this.functionName);
- alert(this.functionName);
- };
- }
- var manager = new Manager(DLGTest.Test);
- manager.start();
Add Comment
Please, Sign In to add comment