sudojs-rails 0.4.9 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d992bf4b05abd85ca7c01e0a3b2b4dfcd9d61834
4
- data.tar.gz: 04a5998a9ed91aa16870b280a4cf978e4d47066f
3
+ metadata.gz: 24474e1cbcb49ad39d78902cd4dcab74e09918c8
4
+ data.tar.gz: 8fda2594bd72ed4a67dbefa2c4b309289e193bd9
5
5
  SHA512:
6
- metadata.gz: 7de7f91acd795c1011aad94f3c9aaf4268f0711383152e5a872db98cff3714f9057e6e7ae691e570b31ecb2b24597fcc7d6cec460e52090ba4418aba3123f79d
7
- data.tar.gz: 3e316fa6732f2cd5007cbc85f08634316c6aeebffc7a7cd2a5e7b254b32d20afb3b30329b6bff51ed3890dee211c7cd1c371929225ffb028980634ba420b4503
6
+ metadata.gz: 3fd60f42b672b917c2428c04747f6e062bd0f09f4cc558f6014ceb6fbb6b0d310341642fa357538fe8a89449e26f44757897859bb2d169c026c2b50fecf9f538
7
+ data.tar.gz: 57e2642397352417640f47af5eb729aa215ac0ab34ae117a7b188e90ba8c85a595ec21c496f0c580d73ce4d5fd4d9dfe389ac6e67a4660668b563dbbd5fafdc5
@@ -1,3 +1,3 @@
1
1
  module Sudojs
2
- VERSION = '0.4.9'
2
+ VERSION = '0.5.0'
3
3
  end
@@ -900,7 +900,8 @@ sudo.DataView = function(el, data) {
900
900
  // if autorendering, observe your own model
901
901
  // use this ref to unobserve if desired
902
902
  if(this.model.data.autoRender) this.observer = this.model.observe(this.render.bind(this));
903
- this.build();
903
+ // only call the initial build if not an autoRender type
904
+ else this.build();
904
905
  if(this.role === 'dataview') this.init();
905
906
  };
906
907
  // `private`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sudojs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - robrobbins