@@ -352,20 +352,18 @@ Use **include(str, obj)** to include content from a different template:
352352## Compiled templates
353353The JavaScript Templates project comes with a compilation script, that allows
354354you to compile your templates into JavaScript code and combine them with a
355- minimal Templates runtime into one minified JavaScript file.
355+ minimal Templates runtime into one combined JavaScript file.
356356
357- The compilation script is built for [ node.js] ( http://nodejs.org/ ) and also
358- requires [ UglifyJS] ( https://github.com/mishoo/UglifyJS ) .
359- To use it, first install both the JavaScript Templates project and UglifyJS via
357+ The compilation script is built for [ node.js] ( http://nodejs.org/ ) .
358+ To use it, first install the JavaScript Templates project via
360359[ npm] ( https://www.npmjs.org/ ) :
361360
362361``` sh
363- npm install uglify-js blueimp-tmpl
362+ npm install blueimp-tmpl
364363```
365364
366- This will put the executables ** uglifyjs** and ** tmpl.js** into the folder
367- ** node_modules/.bin** . It will also make them available on your PATH if you
368- install the packages globally
365+ This will put the executable ** tmpl.js** into the folder ** node_modules/.bin** .
366+ It will also make it available on your PATH if you install the package globally
369367(by adding the ** -g** flag to the install command).
370368
371369The ** tmpl.js** executable accepts the paths to one or multiple template files
@@ -374,7 +372,7 @@ console output. The following command line shows you how to store the generated
374372code in a new JavaScript file that can be included in your project:
375373
376374``` sh
377- tmpl.js templates/upload .html templates/download.html > tmpl.min .js
375+ tmpl.js index .html > tmpl.js
378376```
379377
380378The files given as command line arguments to ** tmpl.js** can either be pure
0 commit comments