You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sg...@apache.org on 2014/12/17 15:21:37 UTC

[1/2] cordova-wp8 git commit: Update JS snapshot to version 3.8.0 (via coho)

Repository: cordova-wp8
Updated Branches:
  refs/heads/3.8.x 42c6b78f5 -> 73781ac2b


Update JS snapshot to version 3.8.0 (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/34612a90
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/34612a90
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/34612a90

Branch: refs/heads/3.8.x
Commit: 34612a90ccbd31cf9d9cbbb7d09a29528c4f3312
Parents: 42c6b78
Author: sgrebnov <v-...@microsoft.com>
Authored: Wed Dec 17 17:20:14 2014 +0300
Committer: sgrebnov <v-...@microsoft.com>
Committed: Wed Dec 17 17:20:14 2014 +0300

----------------------------------------------------------------------
 template/www/cordova.js | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/34612a90/template/www/cordova.js
----------------------------------------------------------------------
diff --git a/template/www/cordova.js b/template/www/cordova.js
index e92a31b..0d1c344 100644
--- a/template/www/cordova.js
+++ b/template/www/cordova.js
@@ -1,5 +1,5 @@
-// Platform: windowsphone
-// 91157c2e1bf3eb098c7e2ab31404e895ccb0df2a
+// Platform: wp8
+// ab3fc0f59dbba0cc402d40a26276675f05924ae1
 /*
  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-dev';
+var PLATFORM_VERSION_BUILD_LABEL = '3.8.0';
 // file: src/scripts/require.js
 
 /*jshint -W079 */
@@ -464,9 +464,14 @@ function each(objects, func, context) {
 
 function clobber(obj, key, value) {
     exports.replaceHookForTesting(obj, key);
-    obj[key] = value;
+    var needsProperty = false;
+    try {
+        obj[key] = value;
+    } catch (e) {
+        needsProperty = true;
+    }
     // Getters can only be overridden by getters.
-    if (obj[key] !== value) {
+    if (needsProperty || obj[key] !== value) {
         utils.defineGetter(obj, key, function() {
             return value;
         });
@@ -804,7 +809,7 @@ module.exports = channel;
 
 });
 
-// file: src/windowsphone/exec.js
+// file: src/wp8/exec.js
 define("cordova/exec", function(require, exports, module) {
 
 var cordova = require('cordova'),
@@ -935,7 +940,7 @@ function replaceNavigator(origNavigator) {
         for (var key in origNavigator) {
             if (typeof origNavigator[key] == 'function') {
                 newNavigator[key] = origNavigator[key].bind(origNavigator);
-            } 
+            }
             else {
                 (function(k) {
                     utils.defineGetterSetter(newNavigator,key,function() {
@@ -1063,7 +1068,7 @@ function replaceNavigator(origNavigator) {
         for (var key in origNavigator) {
             if (typeof origNavigator[key] == 'function') {
                 newNavigator[key] = origNavigator[key].bind(origNavigator);
-            } 
+            }
             else {
                 (function(k) {
                     utils.defineGetterSetter(newNavigator,key,function() {
@@ -1118,7 +1123,7 @@ platform.bootstrap && platform.bootstrap();
  * Create all cordova objects once native side is ready.
  */
 channel.join(function() {
-    
+
     platform.initialize && platform.initialize();
 
     // Fire event to notify that all objects are created
@@ -1236,7 +1241,7 @@ exports.reset();
 
 });
 
-// file: src/windowsphone/platform.js
+// file: src/wp8/platform.js
 define("cordova/platform", function(require, exports, module) {
 
 module.exports = {


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


[2/2] cordova-wp8 git commit: Set VERSION to 3.8.0 (via coho)

Posted by sg...@apache.org.
Set VERSION to 3.8.0 (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/73781ac2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/73781ac2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/73781ac2

Branch: refs/heads/3.8.x
Commit: 73781ac2b60875afa03fbfaad2c2e0a9aaa7ce23
Parents: 34612a9
Author: sgrebnov <v-...@microsoft.com>
Authored: Wed Dec 17 17:20:15 2014 +0300
Committer: sgrebnov <v-...@microsoft.com>
Committed: Wed Dec 17 17:20:15 2014 +0300

----------------------------------------------------------------------
 VERSION      | 2 +-
 package.json | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/73781ac2/VERSION
----------------------------------------------------------------------
diff --git a/VERSION b/VERSION
index d4da33b..1981190 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.8.0-dev
+3.8.0

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/73781ac2/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index b7303e2..e566641 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "cordova-wp8",
-    "version": "3.8.0-dev",
+    "version": "3.8.0",
     "description": "cordova-wp8 release",
     "main": "bin/create",
     "repository": {
@@ -33,4 +33,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