Created
January 3, 2012 01:35
-
-
Save pcamp96/1553009 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| showWebview: function(src, url) { | |
| var prefs = new LocalStorage(); | |
| if (prefs.read('browserSelection') !== 'inAppBrowser' ) { | |
| prefs.write('browserSelection', 'inAppBrowser'); | |
| this.controller.stageController.pushScene('webview', src) | |
| .bind(this); | |
| } | |
| //this.controller.stageController.pushScene('webview', src); | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment