From 9a295816b3ed406ff34d078746d8afd94d0b13a2 Mon Sep 17 00:00:00 2001 From: Sebastiaan Lokhorst Date: Sun, 29 Jul 2018 22:16:10 +0200 Subject: [PATCH] Replace ES6 by Webpack in the integration docs (#5555) --- docs/getting-started/integration.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/getting-started/integration.md b/docs/getting-started/integration.md index 173448f58..95ccbc46d 100644 --- a/docs/getting-started/integration.md +++ b/docs/getting-started/integration.md @@ -2,13 +2,6 @@ Chart.js can be integrated with plain JavaScript or with different module loaders. The examples below show how to load Chart.js in different systems. -## ES6 Modules - -```javascript -import Chart from 'chart.js'; -var myChart = new Chart(ctx, {...}); -``` - ## Script Tag ```html @@ -18,6 +11,13 @@ var myChart = new Chart(ctx, {...}); ``` +## Webpack + +```javascript +import Chart from 'chart.js'; +var myChart = new Chart(ctx, {...}); +``` + ## Common JS ```javascript -- 2.47.3