app/assets/javascripts/seapig/seapig-client.js.coffee in seapig-rails-0.0.6 vs app/assets/javascripts/seapig/seapig-client.js.coffee in seapig-rails-0.0.7

- old
+ new

@@ -20,9 +20,10 @@ @socket.onclose = () => console.log('Seapig connection closed') if @options.debug for object_id, object of @slave_objects object.valid = false + object.onchange() if object.onchange? setTimeout((=>@connect()), 2000) @socket.onopen = () => console.log('Seapig connection opened') if @options.debug @connected = true