diff options
Diffstat (limited to 'phonegap/www/cordova-independent.js')
-rw-r--r-- | phonegap/www/cordova-independent.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/phonegap/www/cordova-independent.js b/phonegap/www/cordova-independent.js deleted file mode 100644 index f56a8f08f..000000000 --- a/phonegap/www/cordova-independent.js +++ /dev/null @@ -1,12 +0,0 @@ -(function () { - var scriptElement = document.createElement("script"); - scriptElement.type = "text/javascript"; - if (navigator.userAgent.match(/(iPhone|iPod|iPad)/)) { - scriptElement.src = 'cordova-ios-2.1.0.js'; - } else if (navigator.userAgent.match(/Android/)) { - scriptElement.src = 'cordova-android-2.1.0.js'; - } else { - alert("Unknown platform - userAgent is: " + navigator.userAgent); - } - $('head').prepend(scriptElement); -})(); |