react-rails-hot-loader 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/react-rails-hot-loader.js.erb +2 -1
- data/lib/hot_loader/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c87dbe765e4fae886f6d44ce1a989ed9dc1be10
|
4
|
+
data.tar.gz: d66538f1326c2de9acd305e9e3f1795757338ce4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2588647b41c47c87d87caa47ef537ee7ddc61e3a52268709a7a2cefd189917707d274ac0ea7b58a2e98e960fe652d0157ff64a26d3d9bd971f4cac662e68d01b
|
7
|
+
data.tar.gz: 21dcd3a8fbf5667f4ccee75660c30226bd694c52d21a658f3567500135e40abb467c2b61994c205ad7eba907e46bbb0c57e4d5570ec24cfa0cbca498ed39439e
|
@@ -51,6 +51,7 @@ var ReactRailsHotLoader = {
|
|
51
51
|
|
52
52
|
_hotLoad: function(changes) {
|
53
53
|
this.log("updating: " + changes.changed_file_names.join(", ") )
|
54
|
+
var _self = this
|
54
55
|
|
55
56
|
changes.changed_file_names.forEach(function(fileName, i) {
|
56
57
|
var changedAssetContent = changes.changed_asset_contents[i]
|
@@ -60,7 +61,7 @@ var ReactRailsHotLoader = {
|
|
60
61
|
try {
|
61
62
|
eval.call(window, changedAssetContent)
|
62
63
|
} catch (err) {
|
63
|
-
|
64
|
+
_self.log(err)
|
64
65
|
}
|
65
66
|
} else {
|
66
67
|
// Reload CSS
|
data/lib/hot_loader/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: react-rails-hot-loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-websocket
|