From d5df066ba830ddd4471f355f6446a769b822cc65 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 31 Dec 2012 05:13:19 -0500 Subject: [PATCH] improved optimizing size of menu.js from 2539 to 2444 --- ChangeLog | 2 ++ config.json | 2 +- lib/client/menu.js | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89a8914f..463161af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -64,6 +64,8 @@ keyStop: function(e, opt) { * Updated jquery to v.1.8.3. +* Improved optimizing size of menu.js from 2539 to 2444. + 2012.12.12, Version 0.1.8 diff --git a/config.json b/config.json index a0a1012c..270056fa 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "appcache" : false, "cache" : {"allowed" : false}, "minification" : { - "js" : false, + "js" : true, "css" : true, "html" : true, "img" : true diff --git a/lib/client/menu.js b/lib/client/menu.js index 2eb01458..0fd28fb2 100644 --- a/lib/client/menu.js +++ b/lib/client/menu.js @@ -1,8 +1,8 @@ /* object contains jQuery-contextMenu * https://github.com/medialize/jQuery-contextMenu */ -var CloudCommander, Util, DOM, $; -(function(){ +//var CloudCommander, Util, DOM, $; +(function(CloudCommander, Util, DOM, $){ "use strict"; var cloudcmd = CloudCommander, @@ -288,4 +288,4 @@ var CloudCommander, Util, DOM, $; }; cloudcmd.Menu = Menu; -})(); \ No newline at end of file +})(CloudCommander, Util, DOM, $); \ No newline at end of file