Delete remaining dependence on __DEBUG__ for loading minified scripts

This commit is contained in:
Kijin Sung 2016-01-07 17:28:34 +09:00
parent ff0e71a4e3
commit 357c80c810
12 changed files with 6 additions and 36 deletions

View file

@ -1,12 +1,6 @@
<!--%load_js_plugin("handlebars")-->
<!--@if(__DEBUG__)-->
<load target="css/poll.css" />
<load target="js/poll.js" />
<!--@else-->
<load target="css/poll.min.css" />
<load target="js/poll.min.js" />
<!--@end-->
{@
Context::loadLang(_XE_PATH_ . 'modules/poll/lang');
}
}

View file

@ -1,12 +1,6 @@
<!--%load_js_plugin("handlebars")-->
<!--@if(__DEBUG__)-->
<load target="css/poll.css" />
<load target="js/poll.js" />
<!--@else-->
<load target="css/poll.min.css" />
<load target="js/poll.min.js" />
<!--@end-->
{@
Context::loadLang(_XE_PATH_ . 'modules/poll/lang');
}
}