providence
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -160,3 +160,3 @@ /** | ||
Providence.prototype.path = function () { | ||
return this._options.getIn(PATH_PATH); | ||
return this._options.getIn(PATH_PATH).slice(); | ||
}; | ||
@@ -460,3 +460,3 @@ | ||
if (_onUpdate !== NOT_SET) { | ||
_onUpdate.call(null, options, path, newRoot, oldRoot); | ||
_onUpdate.call(null, options, path.slice(), newRoot, oldRoot); | ||
} | ||
@@ -466,3 +466,3 @@ | ||
if (onUpdate !== NOT_SET) { | ||
onUpdate.call(null, options, path, newRoot, oldRoot); | ||
onUpdate.call(null, options, path.slice(), newRoot, oldRoot); | ||
} | ||
@@ -469,0 +469,0 @@ } |
{ | ||
"name": "providence", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Reference a sub-structure of any data structure", | ||
@@ -5,0 +5,0 @@ "main": "modules/index.js", |
23244