Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var checkURL = function(_url)
- {
- return _url.split(' ').join('');
- }
- var win = Ti.UI.createWindow ( { width: "100%", height: "100%", title: "Hello World" } );
- var webView = Ti.UI.createWebView ( { width: "100%", height: "100%" } );
- win.add(webView);
- webView.url = checkURL('http: //google.com');
- win.open();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement