Guest User

Untitled

a guest
Dec 9th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. var win = Titanium.UI.createWindow({
  2.  
  3. title:'Tab 1',
  4.  
  5. backgroundColor:'#fff'
  6. });
  7.  
  8. win.open();
  9.  
  10. var DLGTest = {
  11.  
  12. Test : function() {
  13.  
  14. }
  15. };
  16.  
  17. function Manager(foo){
  18.  
  19. this.foo = foo;
  20. this.functionName = arguments.callee.name;
  21.  
  22. this.start = function(){
  23.  
  24. //Ti.API.info(this.functionName);
  25. alert(this.functionName);
  26.  
  27.  
  28. };
  29. }
  30.  
  31. var manager = new Manager(DLGTest.Test);
  32.  
  33. manager.start();
Add Comment
Please, Sign In to add comment