git ssb

1+

Matt McKegg / mutant



Commit 7f33edf4e20870b7b514970eda78bcfeb2791a11

struct: fix destroy

Matt McKegg committed on 9/1/2016, 3:59:08 AM
Parent: 8843e86702678540c5c23a37b36cb7da1583c622

Files changed

struct.jschanged
struct.jsView
@@ -14,9 +14,9 @@
1414 var broadcast = observable.set
1515 var keys = Object.keys(properties)
1616 var suspendBroadcast = false
1717
18- var releases = keys.forEach(function (key) {
18+ var releases = keys.map(function (key) {
1919 if (blackList.hasOwnProperty(key)) {
2020 throw new Error("Cannot create a struct with a key named '" + key + "'.\n" + blackList[key])
2121 }
2222

Built with git-ssb-web