DescriptionThe goal is to improve script concatenation:
Input:
<script src="1.js"></script>
<div>Hello, World!</div>
<script src="2.js"></script>
<span>Goodbye, cruel world.</span>
<script src="3.js"></script>
Output:
<script src="http://www.ggs.com/gadgets/concat?1=1.js&2=2.js&3=3.js&asJSON=1"></script>
<script>eval(_js["1.js"]);</script>
<div>Hello, World!</div>
<script>eval(_js["2.js"]);</script>
<span>Goodbye, cruel world.</span>
<script>eval(_js["3.js"]);</script>
The change here change the concat servlet to support such concatenation.
Patch Set 1 #
Total comments: 2
Patch Set 2 : Updated according to comments #
Total comments: 2
Patch Set 3 : Update wrapper to handle all logic #
Total comments: 3
Patch Set 4 : Changes according to comments, Also added tests for errors #
Total comments: 4
Patch Set 5 : Clean up EscapedServletOutputStream #
MessagesTotal messages: 13
|