Advertisement
Guest User

Untitled

a guest
Mar 19th, 2012
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var checkURL = function(_url)
  2. {
  3.     return _url.split(' ').join('');
  4. }
  5.  
  6. var win = Ti.UI.createWindow ( { width: "100%", height: "100%", title: "Hello World" } );
  7.  
  8. var webView = Ti.UI.createWebView ( { width: "100%", height: "100%" } );
  9.  
  10. win.add(webView);
  11. webView.url = checkURL('http: //google.com');
  12.  
  13. win.open();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement