Updated Branches: refs/heads/master 9b7d2f3cf -> 46ea0a4f8
Update JS snapshot to version 2.9.0rc1 Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/46ea0a4f Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/46ea0a4f Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/46ea0a4f Branch: refs/heads/master Commit: 46ea0a4f8dbc35d39c8b3f757ac99e9ef801d7aa Parents: 9b7d2f3 Author: Andrew Grieve <[email protected]> Authored: Tue Jun 18 13:54:41 2013 -0400 Committer: Andrew Grieve <[email protected]> Committed: Tue Jun 18 13:54:41 2013 -0400 ---------------------------------------------------------------------- templates/standalone/www/cordova.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/46ea0a4f/templates/standalone/www/cordova.js ---------------------------------------------------------------------- diff --git a/templates/standalone/www/cordova.js b/templates/standalone/www/cordova.js index 48e15bd..c2a5a67 100644 --- a/templates/standalone/www/cordova.js +++ b/templates/standalone/www/cordova.js @@ -1,5 +1,5 @@ // Platform: windowsphone -// 2.8.0rc1-0-g22bc4d8 +// 2.7.0rc1-75-g76065a1 /* 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 CORDOVA_JS_BUILD_LABEL = '2.8.0rc1-0-g22bc4d8'; +var CORDOVA_JS_BUILD_LABEL = '2.7.0rc1-75-g76065a1'; // file: lib/scripts/require.js var require, @@ -4325,7 +4325,6 @@ function Device() { this.available = false; this.platform = null; this.version = null; - this.name = null; this.uuid = null; this.cordova = null; this.model = null; @@ -4341,7 +4340,6 @@ function Device() { me.available = true; me.platform = info.platform; me.version = info.version; - me.name = info.name; me.uuid = info.uuid; me.cordova = buildLabel; me.model = info.model; @@ -6533,6 +6531,11 @@ window.cordova = require('cordova'); // file: lib/scripts/bootstrap.js (function (context) { + if (context._cordovaJsLoaded) { + throw new Error('cordova.js included multiple times.'); + } + context._cordovaJsLoaded = true; + var channel = require('cordova/channel'); var platformInitChannelsArray = [channel.onNativeReady, channel.onPluginsReady];
