README.md in chartjs-ror-3.6.2 vs README.md in chartjs-ror-3.6.3
- old
+ new
@@ -3,11 +3,11 @@
Simplifies using [Chart.js][] in Rails views.
## Current Chart.js version
-This gem includes [Chart.js v2.7.2](https://github.com/chartjs/Chart.js/tree/v2.7.2).
+This gem includes [Chart.js v2.7.3](https://github.com/chartjs/Chart.js/tree/v2.7.3).
## Installation
Add this line to your application's Gemfile:
@@ -168,10 +168,10 @@
<canvas id="chart-0" class="chart" width=400 height=400></canvas>
<script type="text/javascript">
//<![CDATA[
(function() {
var initChart = function() {
- var ctx = document.getElemenyById("chart-0");
+ var ctx = document.getElementById("chart-0");
var chart = new Chart(ctx, {
type: "Line",
data = { ... };
options = { ... };
});