cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhigg...@apache.org
Subject webworks commit: CB-7535 DiskCache - change default to enable
Date Fri, 12 Sep 2014 17:12:33 GMT
Repository: cordova-blackberry
Updated Branches:
  refs/heads/master 4842f7bd6 -> 11f49f9d8


CB-7535 DiskCache - change default to enable


Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/11f49f9d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/11f49f9d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/11f49f9d

Branch: refs/heads/master
Commit: 11f49f9d8e8cbc4966ab9b5dbd6e25f19ca04f4a
Parents: 4842f7b
Author: Bryan Higgins <bhiggins@blackberry.com>
Authored: Fri Sep 12 13:11:45 2014 -0400
Committer: Bryan Higgins <bhiggins@blackberry.com>
Committed: Fri Sep 12 13:11:45 2014 -0400

----------------------------------------------------------------------
 bin/templates/project/cordova/lib/config-parser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/11f49f9d/bin/templates/project/cordova/lib/config-parser.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/config-parser.js b/bin/templates/project/cordova/lib/config-parser.js
index 3fb87c8..841033c 100644
--- a/bin/templates/project/cordova/lib/config-parser.js
+++ b/bin/templates/project/cordova/lib/config-parser.js
@@ -589,7 +589,7 @@ function processCordovaPreferences(data, widgetConfig) {
 
         // <preference name="diskCache" value="enable or disable" />
         if (preference.diskcache) {
-            widgetConfig.enableDiskCache = (preference.diskcache === 'enable');
+            widgetConfig.enableDiskCache = (preference.diskcache !== 'disable');
         }
     }
 }


Mime
View raw message