From c3a4f951cc3d445ab41981844cf05b1c20129305 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 26 Jul 2012 07:06:43 -0400 Subject: [PATCH] minor changes --- ChangeLog | 4 ++++ config.json | 2 +- lib/server/object.js | 10 +++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2787a8c6..fc3f2e12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -27,6 +27,10 @@ be more faster, DOM, short, simple and logical. * Added ability to view images on F3 key pressed. +* Added ability to work view images offline. + +* Added async flag to anyload function. + 2012.07.19, Version 0.1.3 diff --git a/config.json b/config.json index d58f0b2d..4a0dccf7 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { "cache" : {"allowed" : false}, "minification" : { - "js" : false, + "js" : true, "css" : true, "html" : true, "img" : true diff --git a/lib/server/object.js b/lib/server/object.js index d8321f80..ec9f2d31 100644 --- a/lib/server/object.js +++ b/lib/server/object.js @@ -136,11 +136,11 @@ exports.Minify={ (pFinalCode = pFinalCode .replace('editor.js','editor.min.js') .replace('viewer.js','viewer.min.js') - .replace('cloudfunc.js','cloudfunc.min.js') - .replace('keyBinding.js','keyBinding.min.js') - .replace('/lib/', lMinFolder) - .replace('/lib/client/', - lMinFolder)).length); + .replace('cloudfunc.js','cloudfunc.min.js') + .replace('keyBinding.js','keyBinding.min.js') + .replace('/lib/', lMinFolder) + .replace('/lib/client/', + lMinFolder)).length); return pFinalCode; };