minor changes

This commit is contained in:
coderaiser 2012-08-20 04:09:25 -04:00
parent c325017a51
commit f125608f43
2 changed files with 7 additions and 5 deletions

View file

@ -5,10 +5,10 @@
var CloudFunc={
/* Путь с которым мы сейчас работаем */
Path :'',
Path : '',
/* КОНСТАНТЫ (общие для клиента и сервера)*/
/* название программы */
NAME :'Cloud Commander',
NAME : 'Cloud Commander',
/* если в ссылке будет эта строка -
* в браузере js отключен
*/
@ -31,7 +31,7 @@ var CloudFunc={
*/
CloudFunc.removeLastSlash = function(pPath){
if(typeof pPath==='string')
return (pPath.lastIndexOf('/')===pPath.length-1)?
return (pPath.lastIndexOf('/') === pPath.length-1) ?
pPath.substr(pPath, pPath.length-1):pPath;
else return pPath;
};
@ -39,7 +39,7 @@ CloudFunc.removeLastSlash = function(pPath){
/* Функция возвращает заголовок веб страницы */
CloudFunc.setTitle = function(){
return CloudFunc.Path===''?CloudFunc.NAME:
return CloudFunc.Path==='' ? CloudFunc.NAME:
CloudFunc.Path +
' - ' +
CloudFunc.NAME;

View file

@ -9,7 +9,9 @@ var CloudServer = {
* exist
*/
Config : {
cache : {allowed : true},
cache : {
allowed : true
},
minification : {
js : false,
css : false,