sudojs-rails 0.4.2 → 0.4.3

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: 854c6476ab957be0678e88706c7a3cde050a35bd
4
- data.tar.gz: ce6e100a37012fc4b06f71a12b0fa48761d8b152
3
+ metadata.gz: b4d8260f96731a47886b44f0016f2c397b889587
4
+ data.tar.gz: 3439116240bd58079ff7cb12f6c10f8028e08e1b
5
5
  SHA512:
6
- metadata.gz: 72e8d6c14e421c2e7c967efaa137f394fb0d1166bb4b06fdf645c06e1dbb455fd29d5b5eff0be0bf2efb16470ecb0a9abac78c6871f037f97d0070684df9ad9c
7
- data.tar.gz: fbe39d9b0524c3587bf6415c4175d8d8f58cf31b7b2fe3cff754801110b79b07d9281bf6cf8396cffc08987604e6e1026e510e9d9f765e1e29463fc3d6a09f88
6
+ metadata.gz: 5700e60dc5b4f0bb1fc33151892233f3214d60128698f24579dd628cac143ed84d77a623a80b1d8cb1c3753da5c734911afc2d7e56793185f50597ecb802b3db
7
+ data.tar.gz: 9a41fc1345807e4c7394a25ae8f888d0a0b22b081b87b6eec9ecda82f78f69e5863be4f99f7774642f368668fb07f0bad7e5e62bd39d5af8dc17ce580080aa38
@@ -1,3 +1,3 @@
1
1
  module Sudojs
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
@@ -136,6 +136,7 @@ sudo.Base = function() {
136
136
  sudo.Base.prototype.addDelegate = function addDelegate(del) {
137
137
  del.delegator = this;
138
138
  this.delegates.push(del);
139
+ if('addedAsDelegate' in del) del.addedAsDelegate(this);
139
140
  return this;
140
141
  };
141
142
  // ###base
@@ -423,7 +424,6 @@ sudo.Container.prototype.removeChild = function removeChild(arg) {
423
424
  this._indexChildren_(i);
424
425
  return this;
425
426
  };
426
-
427
427
  // ###removeChildren
428
428
  // Remove all children, name references and adjust indexes accordingly.
429
429
  // This method calls removeFromParent as each child may have overridden logic there.
@@ -435,7 +435,6 @@ sudo.Container.prototype.removeChildren = function removeChildren() {
435
435
  }
436
436
  return this;
437
437
  };
438
-
439
438
  // ###removeFromParent
440
439
  // Remove this object from its parents list of children.
441
440
  // Does not alter the dom - do that yourself by overriding this method
@@ -1815,7 +1814,7 @@ sudo.delegates.Data.prototype.removeFilter = function removeFilter(key) {
1815
1814
  // `private`
1816
1815
  sudo.delegates.Data.prototype.role = 'data';
1817
1816
 
1818
- sudo.version = "0.9.4";
1817
+ sudo.version = "0.9.5";
1819
1818
  window.sudo = sudo;
1820
1819
  if(typeof window._ === "undefined") window._ = sudo;
1821
1820
  }).call(this, this);
@@ -136,6 +136,7 @@ sudo.Base = function() {
136
136
  sudo.Base.prototype.addDelegate = function addDelegate(del) {
137
137
  del.delegator = this;
138
138
  this.delegates.push(del);
139
+ if('addedAsDelegate' in del) del.addedAsDelegate(this);
139
140
  return this;
140
141
  };
141
142
  // ###base
@@ -423,7 +424,6 @@ sudo.Container.prototype.removeChild = function removeChild(arg) {
423
424
  this._indexChildren_(i);
424
425
  return this;
425
426
  };
426
-
427
427
  // ###removeChildren
428
428
  // Remove all children, name references and adjust indexes accordingly.
429
429
  // This method calls removeFromParent as each child may have overridden logic there.
@@ -435,7 +435,6 @@ sudo.Container.prototype.removeChildren = function removeChildren() {
435
435
  }
436
436
  return this;
437
437
  };
438
-
439
438
  // ###removeFromParent
440
439
  // Remove this object from its parents list of children.
441
440
  // Does not alter the dom - do that yourself by overriding this method
@@ -827,7 +826,7 @@ sudo.extensions.observable = {
827
826
  return this.deliverChangeRecords();
828
827
  }
829
828
  };
830
- sudo.version = "0.9.4";
829
+ sudo.version = "0.9.5";
831
830
  window.sudo = sudo;
832
831
  if(typeof window._ === "undefined") window._ = sudo;
833
832
  }).call(this, this);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sudojs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - robrobbins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-16 00:00:00.000000000 Z
11
+ date: 2013-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec