simple_chartjs 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/simple_chartjs.js +2 -1
- data/lib/chartjs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 698712eaf0499d485dcee531909bf0efa8f445ae
|
4
|
+
data.tar.gz: 995eeccd7a40c1075802cbcc8e9dac241b76245c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4da1f38b5e4817d655f1665e721096ae297f2afe603213272895fc2ead29ca111d8116e0000e36b08427bd5620350961b88011b791d4e5a8a62ccb4479f3459f
|
7
|
+
data.tar.gz: aeb03c49cf4b030caa7f7b7ea89ddc30ec94f22a37d2f2d41af27b8930f364ac3bb6f035db76f6b2fb805d31b8ff2430c858d5d2a0c519c4debc0b4253e0e6c9
|
@@ -19,7 +19,8 @@ SimpleChart.prototype.createChart = function() {
|
|
19
19
|
if(xhr.status === 200) {
|
20
20
|
chart.buildChart(xhr.response);
|
21
21
|
} else {
|
22
|
-
|
22
|
+
chart.ctx.innerText = "Failed to Load: An Error has Occured"
|
23
|
+
chart.ctx.style.color = "red"
|
23
24
|
}
|
24
25
|
}
|
25
26
|
}
|
data/lib/chartjs/version.rb
CHANGED