]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
clarify moment.js included in bundle cannot be used outside of chartjs (#5528)
authorGuiomar Valderrama <gdvalderrama@users.noreply.github.com>
Mon, 4 Jun 2018 12:14:04 +0000 (14:14 +0200)
committerEvert Timberg <evert.timberg+github@gmail.com>
Mon, 4 Jun 2018 12:14:04 +0000 (08:14 -0400)
README.md
docs/getting-started/installation.md

index 31a14e5257cd875660ef3ce9659c1928c5c12e7c..d7e966ca784a32ffb32f4f30ae52f2264047c547 100644 (file)
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ Files:
 * `dist/Chart.bundle.js`
 * `dist/Chart.bundle.min.js`
 
-The bundled build includes Moment.js in a single file. You should use this version if you require time axes and want to include a single file. You should not use this build if your application already included Moment.js. Otherwise, Moment.js will be included twice which results in increasing page load time and possible version compatibility issues.
+The bundled build includes Moment.js in a single file. You should use this version if you require time axes and want to include a single file. You should not use this build if your application already included Moment.js. Otherwise, Moment.js will be included twice which results in increasing page load time and possible version compatibility issues. The Moment.js version in the bundled build is private to Chart.js so if you want to use Moment.js yourself, it's better to use Chart.js (non bundled) and import Moment.js manually.
 
 ## Documentation
 
index ccc02ddc4b91008fba8b5ff2f30e505fadff5466..00b19b059e4956a4e17f409b4850d54c36a94496 100644 (file)
@@ -54,4 +54,4 @@ Files:
 * `dist/Chart.bundle.js`
 * `dist/Chart.bundle.min.js`
 
-The bundled build includes Moment.js in a single file. You should use this version if you require time axes and want to include a single file. You should not use this build if your application already included Moment.js. Otherwise, Moment.js will be included twice which results in increasing page load time and possible version compatability issues.
+The bundled build includes Moment.js in a single file. You should use this version if you require time axes and want to include a single file. You should not use this build if your application already included Moment.js. Otherwise, Moment.js will be included twice which results in increasing page load time and possible version compatability issues. The Moment.js version in the bundled build is private to Chart.js so if you want to use Moment.js yourself, it's better to use Chart.js (non bundled) and import Moment.js manually.