diff --git a/cloudcmd.js b/cloudcmd.js index e9eeffd9..e8ebc547 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -77,7 +77,6 @@ */ function appCacheProcessing(){ var lAppCache = srv.AppCache, - lFiles = [ {'//themes.googleusercontent.com/static/fonts/droidsansmono/v4/ns-m2xQYezAtqh7ai59hJUYuTAAIFFn5GTWtryCmBQ4.woff' : './font/DroidSansMono.woff'}, {'//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js' : './lib/client/jquery.js'}]; diff --git a/config.json b/config.json index a251dc65..b1b74755 100644 --- a/config.json +++ b/config.json @@ -3,10 +3,10 @@ "appcache" : false, "cache" : {"allowed" : false}, "minification" : { - "js" : false, - "css" : false, - "html" : false, - "img" : false + "js" : true, + "css" : true, + "html" : true, + "img" : true }, "github_key" : "891c251b925e4e967fa9", "github_secret" : "afe9bed1e810c5dc44c4c2a953fc6efb1e5b0545", diff --git a/lib/client/viewer.js b/lib/client/viewer.js index 58345015..ba2337b4 100644 --- a/lib/client/viewer.js +++ b/lib/client/viewer.js @@ -113,7 +113,7 @@ var CloudCommander, Util, DOM, $; lView(); pEvent.preventDefault(); } - }; + }; /* добавляем обработчик клавишь */ DOM.addKeyListener(lKeyListener) diff --git a/lib/server/minify.js b/lib/server/minify.js index ca34629e..fcfce9f5 100644 --- a/lib/server/minify.js +++ b/lib/server/minify.js @@ -51,6 +51,7 @@ if(!this.MinFolder) this.MinFolder = Minify.MinFolder; + if(!this.Cache) this.Cache = Minify.Cache; @@ -73,7 +74,7 @@ return lResult; }, - + /* minification folder name */ MinFolder : '', Cache : null