isomorfeus-preact 10.6.42 → 10.6.43

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: 71f0e2e4c50dfd7a41114cd679fcef0288f3003b774e0cf78c73f99f130a5960
4
- data.tar.gz: 31c4fed1aaa9bc3d239ca97fe78b8d6355220c1213bf9c9e9aa0442075b2e5f0
3
+ metadata.gz: 6f1d8efb23afe0ce1b5f8b40c8d65a7bacd835b1cc43e3cd7edb98895c1afa53
4
+ data.tar.gz: fb60ce2b755c96fdebb0bb3c8c044fac84a265e1a1d1cfda2ae13da2aa1a8a7e
5
5
  SHA512:
6
- metadata.gz: 4ad75f6d1bcee7758a87bfa9a5e8ea27ee87d1fbd7848b1c2d70365445ec05b27ece212da80019b3d493ebd2f2c474bed51c91fb20e4bdf26cfd32c2e21fb2af
7
- data.tar.gz: e001b19a26bf518fd86562ad5542a472ac382b6d9779817564e87e256a7e7a19ac657c2947d9603b06ccf97f85d21bd31e61c3cade9dd05109dc5f6bc21112c5
6
+ metadata.gz: 829aefa51447b9b574a3b0aec0ca0a3d228221b8ba778e042e0c254580b7026513426a09d5e47b6e52bafb1894ed6d0cdc2a575e3ec362063612a05d3ff3ae23
7
+ data.tar.gz: 434e1e4abd520a32a24e71b0df7822fbdc53b57417266494b4417056aa49fd3a4c799acd9c2aee349fe7ffb553a35ad808906149c20b89d4108ff1369b282459
@@ -179,8 +179,8 @@ module Isomorfeus
179
179
  ctx.exec(ssr_mod)
180
180
  ctx.add_script(key: :first_pass_check, source: '[global.FirstPassFinished, global.NeedFurtherPass, global.Exception ? { message: global.Exception.message, stack: global.Exception.stack } : false ]')
181
181
  ctx.add_script(key: :first_pass_result, source: 'Opal.Isomorfeus.SSR.first_pass_result()')
182
- ctx.add_script(key: :still_busy, source: 'let nfp = global.Opal.Isomorfeus.Transport["$busy?"]() || global.Opal.Isomorfeus.store["$recently_dispatched?"](); (nfp == global.Opal.nil) ? false : nfp;')
183
- ctx.add_script(key: :store_busy, source: 'let nfp = global.Opal.Isomorfeus.store["$recently_dispatched?"](); (nfp == global.Opal.nil) ? false : nfp;')
182
+ ctx.add_script(key: :still_busy, source: 'Opal.Isomorfeus.SSR.still_busy()')
183
+ ctx.add_script(key: :store_busy, source: 'Opal.Isomorfeus.SSR.store_busy()')
184
184
  ctx.add_script(key: :transport_busy, source: 'global.Opal.Isomorfeus.Transport["$busy?"]()')
185
185
  ctx.add_script(key: :transport_disconnect, source: 'global.Opal.Isomorfeus.Transport.$disconnect()')
186
186
  end
@@ -70,6 +70,16 @@ module Isomorfeus
70
70
  global.NeedFurtherPass = (nfp == nil) ? false : nfp;
71
71
  return [rendered_tree, application_state, ssr_styles, global.Opal.Isomorfeus['$ssr_response_status'](), global.NeedFurtherPass, global.Exception ? { message: global.Exception.message, stack: global.Exception.stack } : false];
72
72
  }
73
+
74
+ self.still_busy = function(){
75
+ let nfp = global.Opal.Isomorfeus.Transport["$busy?"]() || global.Opal.Isomorfeus.store["$recently_dispatched?"]();
76
+ return (nfp == global.Opal.nil) ? false : nfp;
77
+ }
78
+
79
+ self.store_busy = function() {
80
+ let nfp = global.Opal.Isomorfeus.store["$recently_dispatched?"]();
81
+ return (nfp == global.Opal.nil) ? false : nfp;
82
+ }
73
83
  }
74
84
  end
75
85
  end
@@ -1,3 +1,3 @@
1
1
  module Preact
2
- VERSION = '10.6.42'
2
+ VERSION = '10.6.43'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-preact
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.6.42
4
+ version: 10.6.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann