mirror of
https://github.com/Mibew/java.git
synced 2025-01-23 01:50:34 +03:00
Build system not strip comments from JS templates anymore
This commit is contained in:
parent
ba7eb96e8a
commit
f72a0187be
@ -64,10 +64,6 @@
|
|||||||
<mapper type="glob" from="*/js/compiled/templates_tmp.c.js" to="*/js/compiled/templates.js"/>
|
<mapper type="glob" from="*/js/compiled/templates_tmp.c.js" to="*/js/compiled/templates.js"/>
|
||||||
|
|
||||||
<filterchain>
|
<filterchain>
|
||||||
<!-- Remove old comments. There is no strip JavaScript comments
|
|
||||||
filter in ant, but luckily comments in Java and in
|
|
||||||
JavaScript have the same syntax -->
|
|
||||||
<stripjavacomments />
|
|
||||||
<!-- Add header -->
|
<!-- Add header -->
|
||||||
<concatfilter prepend="compiled_templates_header.txt" />
|
<concatfilter prepend="compiled_templates_header.txt" />
|
||||||
<!-- Skip empty lines -->
|
<!-- Skip empty lines -->
|
||||||
@ -396,10 +392,6 @@
|
|||||||
<mapper type="glob" from="*_tmp.c.tpl.js" to="*.tpl.js"/>
|
<mapper type="glob" from="*_tmp.c.tpl.js" to="*.tpl.js"/>
|
||||||
|
|
||||||
<filterchain>
|
<filterchain>
|
||||||
<!-- Remove old comments. There is no strip JavaScript comments
|
|
||||||
filter in ant, but luckily comments in Java and in
|
|
||||||
JavaScript have the same syntax -->
|
|
||||||
<stripjavacomments />
|
|
||||||
<!-- Add header -->
|
<!-- Add header -->
|
||||||
<concatfilter prepend="compiled_templates_header.txt" />
|
<concatfilter prepend="compiled_templates_header.txt" />
|
||||||
<!-- Skip empty lines -->
|
<!-- Skip empty lines -->
|
||||||
|
Loading…
Reference in New Issue
Block a user