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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1812cf1b3247bb0321b4d2c599ea3bc6cc0a68bb
4
- data.tar.gz: 623aa6a9b19a610ca4c043f60788d8f37b359767
3
+ metadata.gz: 698712eaf0499d485dcee531909bf0efa8f445ae
4
+ data.tar.gz: 995eeccd7a40c1075802cbcc8e9dac241b76245c
5
5
  SHA512:
6
- metadata.gz: 6318889dbb64f3290603ced7d3fa04cbdce47e687d6c1a8d4fa52a60900eb4fd0d948942225bc01e8817a54471c7ac662350be76902541adf4e45b3e2fdc441a
7
- data.tar.gz: 16783c569aa50f2c3d4236bbe0e518d66b804c7cf0d8bc6ef36debd11cf5dd7065102f2f980f973da7256b800e584e88e17795cbfa38d7bb936c6c75f6836808
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
- console.log('An error occurred during your xhr: ' + xhr.status + ' ' + xhr.statusText);
22
+ chart.ctx.innerText = "Failed to Load: An Error has Occured"
23
+ chart.ctx.style.color = "red"
23
24
  }
24
25
  }
25
26
  }
@@ -1,3 +1,3 @@
1
1
  module SimpleChartjs
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_chartjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Venables