mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
added jquery and droids font to manifest
This commit is contained in:
parent
1a804e5ba2
commit
e291bf2317
4 changed files with 19 additions and 6 deletions
|
|
@ -1104,11 +1104,11 @@ CloudClient.baseInit = (function(){
|
|||
Util.cssSet({id:'show_2panels',
|
||||
element:document.head,
|
||||
inner:
|
||||
'.panel{' +
|
||||
'height:' + lHeight +'px;' +
|
||||
'width:46%;' +
|
||||
'.panel{' +
|
||||
'height:' + lHeight +'px;' +
|
||||
'width:46%;' +
|
||||
'}'
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
/* функция меняет ссыки на ajax-овые */
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*1
|
||||
@import url(//fonts.googleapis.com/css?family=Droid+Sans+Mono);
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,16 @@ var Manifest = '';
|
|||
|
||||
setWatachFunctions();
|
||||
|
||||
/* function add file or files to manifest */
|
||||
exports.addFiles = function(pFileNames_a){
|
||||
if(pFileNames_a instanceof Array)
|
||||
for(var i=0; i < pFileNames_a.Length; i++)
|
||||
exports.watch(pFileNames_a[i]);
|
||||
else
|
||||
exports.watch(pFileNames_a);
|
||||
|
||||
};
|
||||
|
||||
|
||||
exports.createManifest = function(){
|
||||
var lAllNames = cloudRequire(process.cwd() + '/hashes');
|
||||
|
|
|
|||
|
|
@ -164,8 +164,11 @@ CloudServer.init = (function(){
|
|||
|
||||
/* створюємо файл app cache */
|
||||
var lAppCache = CloudServer.AppCache;
|
||||
if(lAppCache)
|
||||
if(lAppCache){
|
||||
lAppCache.addFiles(
|
||||
['./lib/jquery.js', './font/DroidSansMono.woff','./min/all.min.css']);
|
||||
lAppCache.createManifest();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue