]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update installation instructions in README
authorZach Panzarino <zachary@panzarino.com>
Tue, 25 Oct 2016 15:04:58 +0000 (15:04 +0000)
committerZach Panzarino <zachary@panzarino.com>
Tue, 25 Oct 2016 15:04:58 +0000 (15:04 +0000)
README.md

index 49d09c0174644d2013f71a1860de15efa9efd8df..daec17a46ddf9d430129ca28e7719dd038a26952 100644 (file)
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
 
 ## Installation
 
-You can download the latest version of [Chart.js on GitHub](https://github.com/chartjs/Chart.js/releases/latest) or just use these [Chart.js CDN](https://cdnjs.com/libraries/Chart.js) links.
+You can download the latest version of Chart.js from the [GitHub releases](https://github.com/chartjs/Chart.js/releases/latest) or use a [Chart.js CDN](https://cdnjs.com/libraries/Chart.js).
 
 To install via npm:
 
@@ -16,7 +16,16 @@ To install via npm:
 npm install chart.js --save
 ```
 
-To Install via bower, please follow [these instructions](http://www.chartjs.org/docs/#getting-started-installation).
+To install via bower:
+```bash
+bower install chart.js --save
+```
+
+#### Selecting the Correct Build
+
+Chart.js provides two different builds that are available for your use. The `Chart.js` and `Chart.min.js` files include Chart.js and the accompanying color parsing library. If this version is used and you require the use of the time axis, [Moment.js](http://momentjs.com/) will need to be included before Chart.js.
+
+The `Chart.bundle.js` and `Chart.bundle.min.js` builds include Moment.js in a single file. This version should be used if you require time axes and want a single file to include, select this version. Do not use this build if your application already includes Moment.js. If you do, Moment.js will be included twice, increasing the page load time and potentially introducing version issues.
 
 ## Documentation