cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/2] cordova-wp8 git commit: Update JS snapshot to version 3.8.1 (via coho)
Date Fri, 08 May 2015 23:43:22 GMT
Update JS snapshot to version 3.8.1 (via coho)


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/0baa438a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/0baa438a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/0baa438a

Branch: refs/heads/3.8.x
Commit: 0baa438ad4a35dd1de6b24840b3e6154c62cefb5
Parents: dcd035b
Author: Steve Gill <stevengill97@gmail.com>
Authored: Fri May 8 16:36:37 2015 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Fri May 8 16:36:37 2015 -0700

----------------------------------------------------------------------
 template/www/cordova.js | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0baa438a/template/www/cordova.js
----------------------------------------------------------------------
diff --git a/template/www/cordova.js b/template/www/cordova.js
index fac701b..c5a2dd4 100644
--- a/template/www/cordova.js
+++ b/template/www/cordova.js
@@ -1,5 +1,5 @@
 // Platform: wp8
-// b4af1c5ec477dd98cd651932ea6df6d46705d7f9
+// b0463746dd842818c1f08560e998ec847460596c
 /*
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -19,7 +19,7 @@
  under the License.
 */
 ;(function() {
-var PLATFORM_VERSION_BUILD_LABEL = '3.8.0';
+var PLATFORM_VERSION_BUILD_LABEL = '3.8.1';
 // file: src/scripts/require.js
 
 /*jshint -W079 */
@@ -101,12 +101,15 @@ if (typeof module === "object" && typeof require === "function")
{
 // file: src/cordova.js
 define("cordova", function(require, exports, module) {
 
-if ("cordova" in window) { throw new Error("cordova already defined"); };
+if(window.cordova){
+    throw new Error("cordova already defined");
+}
 
 
 var channel = require('cordova/channel');
 var platform = require('cordova/platform');
 
+
 /**
  * Intercept calls to addEventListener + removeEventListener and handle deviceready,
  * resume, and pause events.
@@ -1568,4 +1571,4 @@ window.cordova = require('cordova');
 
 require('cordova/init');
 
-})();
+})();
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message