Reverted 3.8.0->3.9.0 version change
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 87c5e0e..721d5de 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -25,17 +25,6 @@
Cordova is a static library that enables developers to include the Cordova API in their WP8 application projects easily, and also create new Cordova-based WP8 application projects through the command-line.
-### 3.8.0 (December 17, 2014) ###
-
-* Set VERSION to 3.8.0 (via coho)
-* Update JS snapshot to version 3.8.0 (via coho)
-* remove node_version which is breaking appveyor
-* CB-8139 WP8. Fix callback for plugins with native ui
-* CB-7892 XHR to local files poly should only load/run once
-* Fix AutoloadPlugins
-* updated description in package.json
-* CB-7923 updated release notes
-
### 3.7.0 (October 31, 2014) ###
* Set VERSION to 3.7.0 (via coho)
diff --git a/VERSION b/VERSION
index 724ee60..d4da33b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.9.0-dev
+3.8.0-dev
diff --git a/package.json b/package.json
index c0d3ce3..b7303e2 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "cordova-wp8",
- "version": "3.9.0-dev",
+ "version": "3.8.0-dev",
"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
+}
diff --git a/template/www/cordova.js b/template/www/cordova.js
index 0bb0455..e92a31b 100644
--- a/template/www/cordova.js
+++ b/template/www/cordova.js
@@ -1,5 +1,5 @@
-// Platform: wp8
-// ab3fc0f59dbba0cc402d40a26276675f05924ae1
+// Platform: windowsphone
+// 91157c2e1bf3eb098c7e2ab31404e895ccb0df2a
/*
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.9.0-dev';
+var PLATFORM_VERSION_BUILD_LABEL = '3.8.0-dev';
// file: src/scripts/require.js
/*jshint -W079 */
@@ -464,14 +464,9 @@
function clobber(obj, key, value) {
exports.replaceHookForTesting(obj, key);
- var needsProperty = false;
- try {
- obj[key] = value;
- } catch (e) {
- needsProperty = true;
- }
+ obj[key] = value;
// Getters can only be overridden by getters.
- if (needsProperty || obj[key] !== value) {
+ if (obj[key] !== value) {
utils.defineGetter(obj, key, function() {
return value;
});
@@ -809,7 +804,7 @@
});
-// file: src/wp8/exec.js
+// file: src/windowsphone/exec.js
define("cordova/exec", function(require, exports, module) {
var cordova = require('cordova'),
@@ -940,7 +935,7 @@
for (var key in origNavigator) {
if (typeof origNavigator[key] == 'function') {
newNavigator[key] = origNavigator[key].bind(origNavigator);
- }
+ }
else {
(function(k) {
utils.defineGetterSetter(newNavigator,key,function() {
@@ -1068,7 +1063,7 @@
for (var key in origNavigator) {
if (typeof origNavigator[key] == 'function') {
newNavigator[key] = origNavigator[key].bind(origNavigator);
- }
+ }
else {
(function(k) {
utils.defineGetterSetter(newNavigator,key,function() {
@@ -1123,7 +1118,7 @@
* 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
@@ -1241,7 +1236,7 @@
});
-// file: src/wp8/platform.js
+// file: src/windowsphone/platform.js
define("cordova/platform", function(require, exports, module) {
module.exports = {