projects
/
limn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8de6600
)
Remove nested tombstones.
author
dsc
<dsc@wikimedia.org>
Fri, 13 Apr 2012 15:48:28 +0000 (08:48 -0700)
committer
dsc
<dsc@wikimedia.org>
Fri, 13 Apr 2012 15:48:28 +0000 (08:48 -0700)
lib/util/cascade.co
patch
|
blob
|
history
diff --git
a/lib/util/cascade.co
b/lib/util/cascade.co
index
15b7532
..
efb43b0
100644
(file)
--- a/
lib/util/cascade.co
+++ b/
lib/util/cascade.co
@@
-258,7
+258,7
@@
class Cascade
# Set and ensure the creation of missing intermediate objects.
for key, val in values
- _.unsetNested @_tombstones, key
+ _.unsetNested @_tombstones, key, {+ensure}
_.setNested @_data, key, val, {+ensure}
this
@@
-290,7
+290,7
@@
class Cascade
* @returns {this}
*/
inherit: (key) ->
- _.unsetNested @_tombstones, key
+ _.unsetNested @_tombstones, key, {+ensure}
_.unsetNested @_data, key