cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject mac commit: Update JS snapshot to version 2.9.0rc1
Date Tue, 18 Jun 2013 17:54:56 GMT
Updated Branches:
  refs/heads/master f1b1183ff -> 80da1678c


Update JS snapshot to version 2.9.0rc1


Project: http://git-wip-us.apache.org/repos/asf/cordova-osx/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-osx/commit/80da1678
Tree: http://git-wip-us.apache.org/repos/asf/cordova-osx/tree/80da1678
Diff: http://git-wip-us.apache.org/repos/asf/cordova-osx/diff/80da1678

Branch: refs/heads/master
Commit: 80da1678c5ad90737cb3f58c68b9a7348da1215d
Parents: f1b1183
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Tue Jun 18 13:54:54 2013 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Jun 18 13:54:54 2013 -0400

----------------------------------------------------------------------
 CordovaFramework/cordova.js | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/80da1678/CordovaFramework/cordova.js
----------------------------------------------------------------------
diff --git a/CordovaFramework/cordova.js b/CordovaFramework/cordova.js
index a3b721a..024b5e9 100644
--- a/CordovaFramework/cordova.js
+++ b/CordovaFramework/cordova.js
@@ -1,5 +1,5 @@
 // Platform: osx
-// 2.8.0-0-g6208c95
+// 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.0-0-g6208c95';
+var CORDOVA_JS_BUILD_LABEL = '2.7.0rc1-75-g76065a1';
 // file: lib/scripts/require.js
 
 var require,
@@ -2251,7 +2251,11 @@ function initRead(reader, file) {
     reader._error = null;
     reader._readyState = FileReader.LOADING;
 
-    if (typeof file.fullPath == 'string') {
+    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') {
         reader._fileName = file.fullPath;
     } else {
         reader._fileName = '';


Mime
View raw message