Skip to content

Commit

Permalink
Ignore _zid when it appears as a leaked global
Browse files Browse the repository at this point in the history
That only means that someone has attached an event handler to `window`.
  • Loading branch information
mislav committed Jul 13, 2016
1 parent 89974c4 commit e3fce27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/evidence_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
}
}

var globals = [], expected = ['Zepto', '$', 'Evidence']
var globals = [], expected = ['Zepto', '$', 'Evidence', '_zid']
for (var key in window) globals.push(key)

function checkLeakedGlobals() {
Expand Down

0 comments on commit e3fce27

Please sign in to comment.