mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
c325017a51
commit
f125608f43
2 changed files with 7 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ var CloudServer = {
|
|||
* exist
|
||||
*/
|
||||
Config : {
|
||||
cache : {allowed : true},
|
||||
cache : {
|
||||
allowed : true
|
||||
},
|
||||
minification : {
|
||||
js : false,
|
||||
css : false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue