npm version 2.8.12. Updated cordova-ios library to 2.8.0 tag.
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/a2f15865 Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/a2f15865 Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/a2f15865 Branch: refs/heads/2.8.x Commit: a2f158653f533ebbb5dfbfe136bfdf9e1a57f01c Parents: bb7c377 Author: Fil Maj <[email protected]> Authored: Thu Jun 6 18:09:44 2013 -0700 Committer: Fil Maj <[email protected]> Committed: Thu Jun 6 18:30:33 2013 -0700 ---------------------------------------------------------------------- lib/cordova-ios/CordovaLib/VERSION | 2 +- lib/cordova-ios/CordovaLib/cordova.js | 17 ++++++++--------- package.json | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/a2f15865/lib/cordova-ios/CordovaLib/VERSION ---------------------------------------------------------------------- diff --git a/lib/cordova-ios/CordovaLib/VERSION b/lib/cordova-ios/CordovaLib/VERSION index 1277c83..834f262 100644 --- a/lib/cordova-ios/CordovaLib/VERSION +++ b/lib/cordova-ios/CordovaLib/VERSION @@ -1 +1 @@ -2.8.0rc1 +2.8.0 http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/a2f15865/lib/cordova-ios/CordovaLib/cordova.js ---------------------------------------------------------------------- diff --git a/lib/cordova-ios/CordovaLib/cordova.js b/lib/cordova-ios/CordovaLib/cordova.js index f48d6f9..0dc412a 100644 --- a/lib/cordova-ios/CordovaLib/cordova.js +++ b/lib/cordova-ios/CordovaLib/cordova.js @@ -1,5 +1,5 @@ // Platform: ios -// 2.8.0rc1-0-g22bc4d8 +// 2.8.0-0-g6208c95 /* 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.8.0-0-g6208c95'; // file: lib/scripts/require.js var require, @@ -2383,11 +2383,7 @@ function initRead(reader, file) { reader._error = null; reader._readyState = FileReader.LOADING; - if (typeof file == 'string') { - // Deprecated in Cordova 2.4. - console.warn('Using a string argument with FileReader.readAs functions is deprecated.'); - reader._fileName = file; - } else if (typeof file.fullPath == 'string') { + if (typeof file.fullPath == 'string') { reader._fileName = file.fullPath; } else { reader._fileName = ''; @@ -4502,7 +4498,6 @@ function Device() { this.available = false; this.platform = null; this.version = null; - this.name = null; this.uuid = null; this.cordova = null; this.model = null; @@ -4518,7 +4513,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; @@ -6259,6 +6253,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]; http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/a2f15865/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index fde2ff7..f7f781e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova", - "version": "2.8.11", + "version": "2.8.12", "preferGlobal": "true", "description": "Cordova command line interface tool", "main": "cordova",
