mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(config) appcache -> appCache
This commit is contained in:
parent
34f2ed7338
commit
c91187fed5
4 changed files with 4 additions and 4 deletions
2
HELP.md
2
HELP.md
|
|
@ -146,7 +146,7 @@ All main configuration could be done via [config.json](json/config.json "Config"
|
|||
```js
|
||||
{
|
||||
"api_url" :"/api/v1",
|
||||
"appcache" : false, /* cache files for offline use */
|
||||
"appCache" : false, /* cache files for offline use */
|
||||
"analytics" : true, /* google analytics suport */
|
||||
"localStorage" : true, /* cache directory data */
|
||||
"minify" : true /* minification of js,css,html and img */
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
lData = pData.data,
|
||||
lAdditional = pData.additional;
|
||||
|
||||
if (!Config.appcache)
|
||||
if (!Config.appCache)
|
||||
lData = Util.removeStr(lData, [
|
||||
/* min */
|
||||
' manifest=/cloudcmd.appcache',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"apiURL": "/api/v1",
|
||||
"appcache": false,
|
||||
"appСache": false,
|
||||
"analytics": true,
|
||||
"localStorage": true,
|
||||
"minify": true,
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ var Util, DOM, CloudCmd;
|
|||
|
||||
function appCache() {
|
||||
getConfig(function(config) {
|
||||
var isAppCache = config.appcache,
|
||||
var isAppCache = config.appCache,
|
||||
appCache = window.applicationCache;
|
||||
|
||||
if (isAppCache && appCache)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue