eve icon indicating copy to clipboard operation
eve copied to clipboard

Throws error when browserified

Open wheresrhys opened this issue 11 years ago • 0 comments

Eve references the global scope using this. But in browserify this doesn't refer to window https://github.com/substack/node-browserify/issues/372, so eve isn't attached to the global object.

Could be fixed by passing in (window || this) to the closure.

wheresrhys avatar Dec 22 '13 01:12 wheresrhys