Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5299)

Unified Diff: chrome/third_party/jstemplate/compile.sh

Issue 119384: Update JSTemplate to the latest version from Google Code (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/third_party/jstemplate/base.js ('k') | chrome/third_party/jstemplate/dom.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/third_party/jstemplate/compile.sh
===================================================================
--- chrome/third_party/jstemplate/compile.sh (revision 17821)
+++ chrome/third_party/jstemplate/compile.sh (working copy)
@@ -2,11 +2,13 @@
# A shell script that combines the javascript files needed by jstemplate into
# a single file.
-SRCS="base.js dom.js util.js jstemplate.js"
+SRCS="util.js jsevalcontext.js jstemplate.js exports.js"
OUT="jstemplate_compiled.js"
# TODO(tc): We should use an open source JS compressor/compiler to reduce
# the size of our JS code.
# Stripping // comments is trivial, so we'll do that at least.
-cat $SRCS | grep -v '^ *//' > $OUT
+echo "(function(){" > $OUT
+cat $SRCS | grep -v '^ *//' >> $OUT
+echo "})()" >> $OUT
« no previous file with comments | « chrome/third_party/jstemplate/base.js ('k') | chrome/third_party/jstemplate/dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698