diff --git a/bin/templates/project/assets/www/cordova.js b/bin/templates/project/assets/www/cordova.js index 78dc4c88..ef3c26ef 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.1.0-dev'; // 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');