smashing 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of smashing might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81e32b16c4aa7ec98c1c7392e491117ff12d8626b720260a84424d6bd1fa8b28
4
- data.tar.gz: 991e9aeff8e5e18508b7b71a790a1f6ee0bdbdbdcbd4fc7dfaa88f7132d9e22c
3
+ metadata.gz: d232211b439dd32a8ca38bb023b03b2d48c207216232087d6bc7ebcb5ae2e383
4
+ data.tar.gz: a11191dc9666d2254036fbc60dadd6af326e0b274923d1a6bb6b1da7f4f6141d
5
5
  SHA512:
6
- metadata.gz: 2f1476edfb161b08c0df5ed5ca7fc8d21275dd0bc00c6d9def498d96d3314ab479954c80e6e701ec9f8b5de12e06a94e132d3ef2381636ae060de505e25b235f
7
- data.tar.gz: 3dd675a7510e926d4764660c3d3a9b8081a01b82eba3b94e99884e6d70c9f882fbe001ba0a9b68eb046f973dd55c4ae5eefac0b2c3266103c951a50daf1d9b75
6
+ metadata.gz: 20b3336aae2a0cfc667c97baf45505841c84902df96ff573b3b9998de13a6802d4e7cc53af8c3d33ca75370a00782e154b5788ae0ca95d4cbf4776a1b67accaa
7
+ data.tar.gz: 9d71a1d1de096f4d49e7e8d990d883181858a9390519ca20845e20b194d1405fd639201685bc23580033420e0dc98949291ee861a22e13d197bc0555a4cdac47
@@ -123,7 +123,7 @@ Dashing.lastEvents = lastEvents = {}
123
123
  Dashing.debugMode = false
124
124
 
125
125
  Dashing.on 'run', ->
126
- setTimeout -> # run only when all widgets are created
126
+ @layout.on 'ready', -> # run only when all widgets are created
127
127
  ids = Object.keys(Dashing.widgets)
128
128
  source = new EventSource('events?ids=' + encodeURIComponent(ids.join(',')))
129
129
  source.addEventListener 'open', (e) ->
@@ -153,7 +153,6 @@ Dashing.on 'run', ->
153
153
  console.log("Received data for dashboards", data)
154
154
  if data.dashboard is '*' or window.location.pathname is "/#{data.dashboard}"
155
155
  Dashing.fire data.event, data
156
- , 0
157
156
 
158
157
  $(document).ready ->
159
158
  Dashing.run()
@@ -1,3 +1,3 @@
1
1
  module Dashing
2
- VERSION = "1.3.2".freeze
2
+ VERSION = "1.3.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smashing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Beauchamp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-27 00:00:00.000000000 Z
11
+ date: 2021-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-script