From 70026d613564f273178033d18eefa5eb3d6048e2 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 26 Jul 2012 07:17:46 -0400 Subject: [PATCH] fixed bug with location of cloudfun.js --- lib/server/object.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/server/object.js b/lib/server/object.js index ec9f2d31..966d6b6a 100644 --- a/lib/server/object.js +++ b/lib/server/object.js @@ -66,7 +66,8 @@ exports.Cache={ exports.Minify={ /* pathes to directories */ INDEX :'index.html', - LIBDIRCLIENT : './lib/client', + LIBDIR : '/lib/', + LIBDIRCLIENT : './lib/client/', /* приватный переключатель минимизации */ _allowed :{css:true,js:true,html:true, img: true}, @@ -149,10 +150,10 @@ exports.Minify={ if (this._allowed.js) { lOptimizeParams=[{ 'client.js': lPostProcessing_f}, - this.LIBDIRCLIENT + '/cloudfunc.js', - this.LIBDIRCLIENT + '/keyBinding.js', - this.LIBDIRCLIENT + '/editor.js', - this.LIBDIRCLIENT + '/viewer.js']; + this.LIBDIR + 'cloudfunc.js', + this.LIBDIRCLIENT + 'keyBinding.js', + this.LIBDIRCLIENT + 'editor.js', + this.LIBDIRCLIENT + 'viewer.js']; } if (this._allowed.html)