Skip to content
katspaugh edited this page Mar 6, 2012 · 2 revisions

To build a single DateJS script, you need to concatenate the following files in this order:

cat src/globalization/xx-XX.js src/core.js src/parser.js > date-xx-XX.js

You can also minify the resulting file, for example, with UglifyJS:

[npm install -g uglify-js]

cat src/globalization/xx-XX.js src/core.js src/parser.js | uglifyjs > date-xx-XX.js
Clone this wiki locally