fixed unneeded properties

This commit is contained in:
coderaiser 2012-09-11 07:34:12 -04:00
parent 1bffa3033e
commit 5661c131fb
4 changed files with 17 additions and 10 deletions

View file

@ -2,7 +2,7 @@
"cache" : {"allowed" : false},
"minification" : {
"js" : false,
"css" : false,
"css" : true,
"html" : true,
"img" : true
},

View file

@ -37,7 +37,10 @@ a:hover, a:active { outline: 0; }
/* changed ul to panel, it using only in this case for now, and will css
* processing cost 33% with name of tag, so it should be match faster
*/
.panel{ margin: 1em 0; padding: 0 20px 0 20px; }
.panel{
/* removed default margins */
margin: 0 0 0 0;
padding: 0 20px 0 20px; }
/*
* 1. Display hand cursor for clickable form elements

View file

@ -177,8 +177,6 @@ background:url(/img/panel_refresh.png) 0 -15px no-repeat;
}
.panel{
border: 1.5px solid rgba(49, 123, 249, .40);
/* remove default margins */
margin: 0 0 0 0;
overflow-y: auto;
width:46%;
}

View file

@ -99,14 +99,17 @@ try {
/* добавляем модуль с функциями */
var CloudFunc;
try {
CloudFunc = require(CloudServer.LIBDIR +
'/cloudfunc');
CloudFunc = require(CloudServer.LIBDIR +
'/cloudfunc');
CloudServer.Cache = require(CloudServer.LIBDIRSERVER +
'/object').Cache;
CloudServer.Cache = require(CloudServer.LIBDIRSERVER +
'/object').Cache;
CloudServer.Minify = require(CloudServer.LIBDIRSERVER +
'/object').Minify;
CloudServer.Minify = require(CloudServer.LIBDIRSERVER +
'/object').Minify;
CloudServer.AppCache = require(CloudServer.LIBDIRSERVER +
'/appcache');
}catch(pError){
console.log('could not found one of Cloud Commander SS files');
console.log(pError);
@ -334,6 +337,9 @@ CloudServer._controller = function(pReq, pRes)
var lName = '.' + pathname;
console.log('reading '+lName);
/* watching is file changed */
CloudServer.AppCache.watch(lName);
/* сохраняем указатель на response и имя */
CloudServer.Responses[lName] = pRes;