fixed bug with client.js minifying

This commit is contained in:
coderaiser 2012-12-11 09:35:53 -05:00
parent 5ccabc427c
commit 32fc0fdf89
4 changed files with 10 additions and 11 deletions

View file

@ -186,6 +186,8 @@ thru keys panel (F8).
* If git not installed do not show error.
Just propose install git and clone from github repo.
* Fixed bug with client.js minifying.
2012.10.01, Version 0.1.7

View file

@ -3,10 +3,10 @@
"appcache" : false,
"cache" : {"allowed" : false},
"minification" : {
"js" : false,
"css" : false,
"js" : true,
"css" : true,
"html" : true,
"img" : false
"img" : true
},
"github_key" : "891c251b925e4e967fa9",
"github_secret" : "afe9bed1e810c5dc44c4c2a953fc6efb1e5b0545",

View file

@ -8,12 +8,6 @@
<link rel=stylesheet href="/css/reset.css">
<link rel=stylesheet href="/css/style.css">
<!--[if lt IE 9]>
<script src="//ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<script src="//code.jquery.com/jquery-1.8.0.min.js" id=jquery-1_8_0_min_js ></script>
<![endif]-->
</head>
<body>
@ -44,6 +38,8 @@
<script src=/lib/client/dom.js></script>
<script src=/lib/client.js></script>
<!--[if lt IE 9]>
<script src="//ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js" async></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" id=jquery_min_js ></script>
<script src=/lib/client/ie.js id=ie_js ></script>
<![endif]-->
</body>

View file

@ -4,7 +4,8 @@
"use strict";
var main = global.cloudcmd.main,
DIR = main.DIR;
DIR = main.DIR,
LIBDIR = main.LIBDIR;
exports.Minify = {
/* pathes to directories */
@ -68,7 +69,7 @@
lStyleCSS = DIR + 'css/style.css',
lResetCSS = DIR + 'css/reset.css';
if (this._allowed.js) {
lOptimizeParams.push(DIR + 'client.js');
lOptimizeParams.push(LIBDIR + 'client.js');
}
if (this._allowed.html)