diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-03-12 16:52:29 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-03-12 16:52:29 +0000 |
commit | 8b725b38bb6abf3b77e22c2f65f93fabfc92c645 (patch) | |
tree | 6e4ab7d0c4047fc0342427da86da1f1820ae864b /phonegap/www/cordova-independent.js | |
parent | 87017d5197a623f642b0267ddd44f4d6c70bf751 (diff) | |
parent | 1185871fe27fa663a95b304e2f223d458525ed85 (diff) |
Merge branch 'delete-mobile-app-folders'
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); -})(); |