]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
adding note on minified language files
authorTim Wood <washwithcare@gmail.com>
Sun, 7 Jul 2013 19:12:21 +0000 (12:12 -0700)
committerTim Wood <washwithcare@gmail.com>
Sun, 7 Jul 2013 19:12:21 +0000 (12:12 -0700)
lang/readme.md [new file with mode: 0644]

diff --git a/lang/readme.md b/lang/readme.md
new file mode 100644 (file)
index 0000000..f8c0f61
--- /dev/null
@@ -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`.