From a31107e389c154ca17cd3ebc3587e88e84ebf57e Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Thu, 9 Apr 2015 11:05:47 -0400 Subject: [PATCH] Update JS snapshot to version 4.0.0 (via coho) --- bin/templates/project/assets/www/cordova.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/templates/project/assets/www/cordova.js b/bin/templates/project/assets/www/cordova.js index 78dc4c88..148c7aaa 100644 --- a/bin/templates/project/assets/www/cordova.js +++ b/bin/templates/project/assets/www/cordova.js @@ -1,5 +1,5 @@ // Platform: android -// fc4db9145934bd0053161cbf9ffc0caf83b770c6 +// b4af1c5ec477dd98cd651932ea6df6d46705d7f9 /* 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 = '4.0.0-dev'; +var PLATFORM_VERSION_BUILD_LABEL = '4.0.0'; // file: src/scripts/require.js /*jshint -W079 */ @@ -101,6 +101,8 @@ 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"); }; + var channel = require('cordova/channel'); var platform = require('cordova/platform');