Skip to content

Commit

Permalink
ignore context on remove -- maybe dangerous
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim de Beer committed Aug 18, 2016
1 parent ee4ceae commit 019c87e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,8 @@ exports.removeProperties = function (stamp, noContext) {
for (let i = 0, len = this._keys.length; i < len; i++) {
let key = this._keys[i]
let k = '_' + key
// let target = this[k]
if (!(k in this) || this.hasOwnProperty(k)) {
// not good enough
this.removeProperty(this[key], key, stamp, noContext, true)
} else {
// this[key]
// this[key].clearContext()
}
}
this.removeAllKeys()
Expand Down

0 comments on commit 019c87e

Please sign in to comment.