isomorfeus-redux 4.0.22 → 4.0.23

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
  SHA256:
3
- metadata.gz: ac66bd2fa78a0d3dde62ea27ad5d465d0f6298936ebe4d720288b609db23d2e9
4
- data.tar.gz: 2577dcb6a4dec4ec430b4a8efb615edb6aa36db290d1c2219a3e9be37296260f
3
+ metadata.gz: c525619e9881d6b7be5127a4e22cf1bfe07a81bb2e520fdce10d859f18d9e108
4
+ data.tar.gz: 975e7ecf09ce6cf4f27e8bcd46babbf5021f1959c1490e4b3d78fb0458bba6f1
5
5
  SHA512:
6
- metadata.gz: 71ad82d18c7f94dce61887613574403d0bb08499d61b24d4bcce818a335aab72c927d880052d66fda709043f3887cab443bd40a316ebfd9c74f32d3a20a5585c
7
- data.tar.gz: c939dd916b7870d091047f4a4b777a9c2eaf9c5986972eccd950344c2adb7fd3914237338144b5115aa3a0bbe91b875f15d4c9f5f285399e3f5bbfe35ce7fdcc
6
+ metadata.gz: c2c718656620da8bc17c0819000c33f8dc078f967375762d6bcb65150b97bc0a73673b6064cdca5e13c2e1b27a1b36b3b8e2f78d7890ac1a5190b05b9537b72d
7
+ data.tar.gz: 717b8ed5104d107c8b768495885c6fd38220c6698f4651495eac85b3c98d707f98bb744ee89a14d8b859cb63a8606fa6a0b7395bff790e0b4903ec0ef9794522
@@ -131,7 +131,7 @@ module Redux
131
131
  @deferred_actions[type] = [] unless @deferred_actions.key?(type)
132
132
  @deferred_actions[type].push(action)
133
133
  @last_dispatch_time = `Date.now()`
134
- `console.log(#@last_dispatch_time)`
134
+ # `console.log(#@last_dispatch_time)`
135
135
  deferred_dispatcher(`Date.now()`) unless @deferred_dispatcher
136
136
  else
137
137
  dispatch(action)
@@ -161,7 +161,7 @@ module Redux
161
161
  end
162
162
 
163
163
  def dispatch_deferred_dispatches
164
- `console.log(Date.now())`
164
+ # `console.log(Date.now())`
165
165
  @deferred_dispatcher = false
166
166
  actions = @deferred_actions
167
167
  @deferred_actions = {}
@@ -173,7 +173,7 @@ module Redux
173
173
  def wait_longer?(first)
174
174
  t = `Date.now()`
175
175
  time_since_first = `t - first`
176
- `console.log('delta', time_since_first)`
176
+ # `console.log('delta', time_since_first)`
177
177
  return true if `typeof Opal.React !== 'undefined' && typeof Opal.React.render_buffer !== 'undefined' && Opal.React.render_buffer.length > 0 && time_since_first < 1000`
178
178
  return false if time_since_first > 100 # ms
179
179
  return false if (`t - #@last_dispatch_time`) > 9 # ms
@@ -1,3 +1,3 @@
1
1
  module Redux
2
- VERSION = '4.0.22'
2
+ VERSION = '4.0.23'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-redux
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.22
4
+ version: 4.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-27 00:00:00.000000000 Z
11
+ date: 2020-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal