]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 9 Sep 2013 16:21:21 +0000 (16:21 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 9 Sep 2013 16:21:21 +0000 (16:21 +0000)
js/main.js

index 4e8e25812ab6b62471c84436a950bdcb4c1d6447..1e58a8b9ecb4992572038789c93d7a462d8596db 100644 (file)
@@ -37,10 +37,8 @@ $(function() {
        }
 
        if (DATAS.phonegap) {
+               console.log('need to load cordova before launching app');
                loadPhonegap();
-
-
-
        } else {
                init();
        }
@@ -55,6 +53,9 @@ function loadPhonegap() {
                }
        }
 
+       console.log('Load phonegap');
+       console.log(cordova);
+
        loadJSLibrary(
                        cordova
                        , function() {
@@ -154,7 +155,6 @@ function init() {
        desktopScale = 1;
        desktopScaleAmount = 1.5;
 
-
        if ($_GET.s == '1') {
                $("#main").css('display', 'block');
                $('html').addClass('screenshot');