aboutsummaryrefslogtreecommitdiffstats
path: root/phonegap/www/cordova-independent.js
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2013-09-10 16:33:13 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-03-12 16:49:30 +0000
commit4514e67c1d001d40171508f450a0aacba3e57c84 (patch)
tree51d9f4a8bae710edc7bd7638f56c5f39cf59a375 /phonegap/www/cordova-independent.js
parent87017d5197a623f642b0267ddd44f4d6c70bf751 (diff)
Remove the phonegap directory
Diffstat (limited to 'phonegap/www/cordova-independent.js')
-rw-r--r--phonegap/www/cordova-independent.js12
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);
-})();