removed unneded windows check

This commit is contained in:
coderaiser 2012-11-05 10:50:24 -05:00
parent d40d35fecb
commit fb729aea52
2 changed files with 4 additions and 4 deletions

View file

@ -65,6 +65,8 @@ long thrue css, from JavaScript.
* Fixed bug with application cahe forming on windows
and linux.
* Removed unneeded windows check.
2012.10.01, Version 0.1.7
* Changed name of menu files, fixed npm and jitsu

View file

@ -15,8 +15,7 @@
Server = main.require(DIR + 'server'),
srv = Server.CloudServer,
Config = main.config,
WIN32 = main.WIN32;
Config = main.config;
readConfig();
Server.start(Config, indexProcessing, appCacheProcessing);
@ -31,8 +30,7 @@
* минифицированый
*/
if(srv.Minify._allowed.css){
var lReplace_s = '<link rel=stylesheet href=' +
(WIN32 ? '/css/reset.css>' : '"/css/reset.css">');
var lReplace_s = '<link rel=stylesheet href="/css/reset.css">';
pIndex = Util.removeStr(pIndex, lReplace_s);
pIndex = pIndex.replace('/css/style.css', srv.Minify.MinFolder + 'all.min.css');