What steps will reproduce the problem?
1. Create x.js with this content:
---
console.log("X") //comment
---
DO NOT end the file with a new line (this file has 0 new lines in it).
2. Create y.js with this content:
---
console.log("Y")
3. Create a WRO group called "xy":
<group name="xy">
<js>x.js</js>
<css>y.css</css>
</group>
4. Look at http://localhost:8080/wro/xy.js?minimize=false
What is the expected output? What do you see instead?
The expected output is:
--
console.log("X") //comment;
console.log("Y");
--
The actual output is:
--
console.log("X") //comment;console.log("Y");
--
The actual output won't execute the console.log("Y") statement, which is the
problem.
Original issue reported on code.google.com by candrews...@gmail.com on 15 Nov 2013 at 4:41
Original issue reported on code.google.com by
candrews...@gmail.com
on 15 Nov 2013 at 4:41