From: Tim Wood Date: Sun, 7 Jul 2013 19:12:21 +0000 (-0700) Subject: adding note on minified language files X-Git-Tag: 2.1.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c3b9a63abead64abfd55578e5ca85e8343deb3e;p=thirdparty%2Fmoment.git adding note on minified language files --- diff --git a/lang/readme.md b/lang/readme.md new file mode 100644 index 000000000..f8c0f6125 --- /dev/null +++ b/lang/readme.md @@ -0,0 +1,5 @@ +# Using language files in the browser + +The files in this directory are optimized for use with Node.js, hence the `require('../moment')` calls at the beginning of each file. + +If you are looking to use these files in the browser, the minified version of these files in `/min/lang/` are a better fit. We do some trickery to make each language file work with or without requirejs. If you are interested in the details, check out `/tasks/minify-lang.js`.