revelry_core 0.1.23.0 → 0.1.24.0

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: 39cf89745ad203235adacde99841cb250b99cc59
4
- data.tar.gz: 9401f19bbb58eb41a4fdf9f92be58d076771c2ca
3
+ metadata.gz: ef4582126e44a8535ff63cfff6c1b339d1a517be
4
+ data.tar.gz: 5b69dc0ef0ff8d73874c6541d1c7d7680b6733e1
5
5
  SHA512:
6
- metadata.gz: 6f9bc43c313a637dc1fb8fd1ffce95ef96b132dff98895c865df7e1c9bd90c0ccaf73da607af37634a4f89591bd80d7781a5acc66168de1c857228f735062e1c
7
- data.tar.gz: d50176ed9386cb3645bc65e4c295df33b172decf29d25cd5de16fcb0378c6999463b3d65672058d263b882cc2214773a84fe6bcbf240c9378260b65f92c23cce
6
+ metadata.gz: 7b723c662577ebd9a522be184d0739f6c379b0aee3f5871a831eccf06559e7cebff44a6f80d0c7c0a94132ab971a91c95b85069fc991021362cd11cd3e9ab2af
7
+ data.tar.gz: 54acf0a5e00eb03d259f0bce53104f69bf3990eca676a190b76fab3ed913e426f330c6443b1eca032c467b732b828b01823770d2dbc85a59a40877212763fe01
@@ -115,7 +115,7 @@ Rev.registerComponent('ChartBuilder', class ChartBuilder extends React.Component
115
115
  }
116
116
 
117
117
  get ctx() {
118
- return this.refs.canvas.getDOMNode().getContext('2d')
118
+ return this.canvas.getContext('2d')
119
119
  }
120
120
 
121
121
  get chartSpec() {
@@ -162,7 +162,9 @@ Rev.registerComponent('ChartBuilder', class ChartBuilder extends React.Component
162
162
  <div>
163
163
  <h3 className="ChartTitle">{this.props.title}</h3>
164
164
  <canvas
165
- ref="canvas"
165
+ ref={(self) => {
166
+ this.canvas = self
167
+ }}
166
168
  width={this.props.width}
167
169
  height={this.props.height}
168
170
  />
@@ -1,5 +1,5 @@
1
1
  module Revelry
2
2
  module Core
3
- VERSION = "0.1.23.0"
3
+ VERSION = "0.1.24.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revelry_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23.0
4
+ version: 0.1.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Revelry Labs, LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-07 00:00:00.000000000 Z
11
+ date: 2018-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails