mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 18:49:02 +00:00
Merge branch 'dev'
This commit is contained in:
commit
19b9d29c66
1 changed files with 7 additions and 4 deletions
11
server.js
11
server.js
|
|
@ -137,10 +137,13 @@ CloudServer.init = (function(){
|
|||
var lAppCache = CloudServer.AppCache;
|
||||
/* создаём файл app cache */
|
||||
if(this.Config.appcache && lAppCache && this.Config.server){
|
||||
lAppCache.addFiles(
|
||||
[{'//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'},
|
||||
'./min/all.min.css']);
|
||||
var 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'}];
|
||||
|
||||
if(this.Minify._allowed.css)
|
||||
lFiles.push('./min/all.min.css');
|
||||
|
||||
lAppCache.addFiles(lFiles);
|
||||
lAppCache.createManifest();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue