Skip to content

Commit

Permalink
Documentation update on requiring Chart.js using CommonJS and es6 (ch…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jareechang authored and etimberg committed Jan 22, 2017
1 parent f46ad7f commit a52a79b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/00-Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ To import Chart.js using an awesome module loader:
```javascript

// Using CommonJS
var Chart = require('src/chart.js')
var Chart = require('chart.js')
var myChart = new Chart({...})

// ES6
import Chart from 'src/chart.js'
import Chart from 'chart.js'
let myChart = new Chart({...})

// Using requirejs
Expand Down

0 comments on commit a52a79b

Please sign in to comment.