strip options reference from combined
authorDan Vanderkam <dan@dygraphs.com>
Fri, 11 Mar 2011 22:19:55 +0000 (17:19 -0500)
committerDan Vanderkam <dan@dygraphs.com>
Fri, 11 Mar 2011 22:19:55 +0000 (17:19 -0500)
generate-combined.sh

index 5694425..2b81f75 100755 (executable)
@@ -7,6 +7,7 @@ dygraph-canvas.js \
 dygraph.js \
 rgbcolor/rgbcolor.js \
 strftime/strftime-min.js \
+| perl -ne 'print unless m,REMOVE_FOR_COMBINED,..m,/REMOVE_FOR_COMBINED,' \
 > /tmp/dygraph.js
 
 java -jar yuicompressor-2.4.2.jar /tmp/dygraph.js \