paulirish/break-on-access

Uncaught ReferenceError: breakOn is not defined

Closed this issue · 1 comments

i took the javascript and pasted it in the Chrome console.
then i tried to run it but got the error Uncaught ReferenceError: breakOn is not defined.

But when i changed from
breakOn function(obj, propertyName, mode, func) { to var breakOn = function(obj, propertyName, mode, func) { it worked.

Got it working when i placed it in a snippet :)