SHARE
TWEET

Untitled

a guest Mar 19th, 2012 15 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();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top