sudojs-rails 0.2.3 → 0.2.4

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.
@@ -1,3 +1,3 @@
1
1
  module Sudojs
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
@@ -225,9 +225,9 @@ sudo.Base.prototype.role = 'base';
225
225
  //
226
226
  // `constructor`
227
227
  sudo.Model = function(data) {
228
- sudo.Base.call(this);
229
- this.data = data || {};
230
- // only models are `observable`
228
+ sudo.Base.call(this);
229
+ this.data = data || {};
230
+ // only models are `observable`
231
231
  this.callbacks = [];
232
232
  this.changeRecords = [];
233
233
  };
@@ -288,7 +288,7 @@ sudo.Model.prototype.set = function set(key, value) {
288
288
  // `returns` {Object} this.
289
289
  sudo.Model.prototype.setPath = function setPath(path, value) {
290
290
  sudo.setPath(path, value, this.data);
291
- return this;
291
+ return this;
292
292
  };
293
293
  // ###sets
294
294
  // Invokes `set()` or `setPath()` for each key value pair in `obj`.
@@ -319,8 +319,8 @@ sudo.Model.prototype.unset = function unset(key) {
319
319
  // `param` {String} path
320
320
  // `returns` {Object} `this`
321
321
  sudo.Model.prototype.unsetPath = function unsetPath(path) {
322
- sudo.unsetPath(path, this.data);
323
- return this;
322
+ sudo.unsetPath(path, this.data);
323
+ return this;
324
324
  };
325
325
  // ###unsets
326
326
  // Deletes a number of keys or paths from this object's data store
@@ -225,9 +225,9 @@ sudo.Base.prototype.role = 'base';
225
225
  //
226
226
  // `constructor`
227
227
  sudo.Model = function(data) {
228
- sudo.Base.call(this);
229
- this.data = data || {};
230
- // only models are `observable`
228
+ sudo.Base.call(this);
229
+ this.data = data || {};
230
+ // only models are `observable`
231
231
  this.callbacks = [];
232
232
  this.changeRecords = [];
233
233
  };
@@ -288,7 +288,7 @@ sudo.Model.prototype.set = function set(key, value) {
288
288
  // `returns` {Object} this.
289
289
  sudo.Model.prototype.setPath = function setPath(path, value) {
290
290
  sudo.setPath(path, value, this.data);
291
- return this;
291
+ return this;
292
292
  };
293
293
  // ###sets
294
294
  // Invokes `set()` or `setPath()` for each key value pair in `obj`.
@@ -319,8 +319,8 @@ sudo.Model.prototype.unset = function unset(key) {
319
319
  // `param` {String} path
320
320
  // `returns` {Object} `this`
321
321
  sudo.Model.prototype.unsetPath = function unsetPath(path) {
322
- sudo.unsetPath(path, this.data);
323
- return this;
322
+ sudo.unsetPath(path, this.data);
323
+ return this;
324
324
  };
325
325
  // ###unsets
326
326
  // Deletes a number of keys or paths from this object's data store
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.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  segments:
78
78
  - 0
79
- hash: 2258229491469945154
79
+ hash: 4176419229015017956
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  segments:
87
87
  - 0
88
- hash: 2258229491469945154
88
+ hash: 4176419229015017956
89
89
  requirements: []
90
90
  rubyforge_project:
91
91
  rubygems_version: 1.8.24