You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/05/09 01:43:33 UTC
[1/2] cordova-windows git commit: Update JS snapshot to version 3.8.2
(via coho)
Repository: cordova-windows
Updated Branches:
refs/heads/3.8.x 9b003319c -> eb4e7125e
Update JS snapshot to version 3.8.2 (via coho)
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/0df774d2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/0df774d2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/0df774d2
Branch: refs/heads/3.8.x
Commit: 0df774d2171468300dda41b72b06b92168db4f7c
Parents: 9b00331
Author: Steve Gill <st...@gmail.com>
Authored: Fri May 8 15:50:38 2015 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Fri May 8 15:50:38 2015 -0700
----------------------------------------------------------------------
template/www/cordova.js | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/0df774d2/template/www/cordova.js
----------------------------------------------------------------------
diff --git a/template/www/cordova.js b/template/www/cordova.js
index ccb98ee..5fbee21 100644
--- a/template/www/cordova.js
+++ b/template/www/cordova.js
@@ -1,5 +1,5 @@
// Platform: windows
-// 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.1';
+var PLATFORM_VERSION_BUILD_LABEL = '3.8.2';
// 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.
@@ -858,7 +861,7 @@ module.exports = function (success, fail, service, action, args) {
onSuccess = function (result, callbackOptions) {
callbackOptions = callbackOptions || {};
var callbackStatus;
- if (callbackOptions.status != null) {
+ if (callbackOptions.status !== null) {
callbackStatus = callbackOptions.status;
}
else {
@@ -874,7 +877,7 @@ module.exports = function (success, fail, service, action, args) {
onError = function (err, callbackOptions) {
callbackOptions = callbackOptions || {};
var callbackStatus;
- if (callbackOptions.status != null) {
+ if (callbackOptions.status !== null) {
callbackStatus = callbackOptions.status;
}
else {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[2/2] cordova-windows git commit: Set VERSION to 3.8.2 (via coho)
Posted by st...@apache.org.
Set VERSION to 3.8.2 (via coho)
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/eb4e7125
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/eb4e7125
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/eb4e7125
Branch: refs/heads/3.8.x
Commit: eb4e7125e0f2a1c4cf681e1818248d77d36b89d3
Parents: 0df774d
Author: Steve Gill <st...@gmail.com>
Authored: Fri May 8 16:25:56 2015 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Fri May 8 16:25:56 2015 -0700
----------------------------------------------------------------------
VERSION | 2 +-
package.json | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/eb4e7125/VERSION
----------------------------------------------------------------------
diff --git a/VERSION b/VERSION
index f280719..a08ffae 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.8.1
+3.8.2
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/eb4e7125/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 1be92b7..b034233 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "cordova-windows",
- "version": "3.8.1",
+ "version": "3.8.2",
"description": "cordova-windows release",
"main": "bin/create",
"repository": {
@@ -41,4 +41,4 @@
],
"author": "Apache Software Foundation",
"license": "Apache Version 2.0"
-}
+}
\ 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