Snap.svg icon indicating copy to clipboard operation
Snap.svg copied to clipboard

'glob.doc' is undefined when loading via npm / browserify

Open mikemaccana opened this issue 10 years ago • 8 comments

Loading current master via npm / browserify results in:

Uncaught TypeError: Cannot read property 'contains' of undefined

From this line:

var contains = glob.doc.contains || glob.doc.compareDocumentPosition ? ...

mikemaccana avatar Dec 16 '14 10:12 mikemaccana

I'm also having this issue with webpack.

griable avatar Dec 24 '14 18:12 griable

Having the same issue right now, any workarounds ?

iandoe avatar Jan 08 '15 11:01 iandoe

I am also having this problem. Anybody find any workarounds?

iamaracinghorse avatar Jan 26 '15 19:01 iamaracinghorse

+1

gunderson avatar Feb 11 '15 04:02 gunderson

Same issue here...

cronvel avatar Feb 16 '15 15:02 cronvel

+1 same issue, using webpack.

flootr avatar Feb 20 '15 11:02 flootr

This issue was addressed in issue #170. The code was merged into the dev branch, but has not yet made it to master. I updated my npm dependency to point to the dev branch and everything seems to work as expected.

dstreet avatar Feb 20 '15 15:02 dstreet

I still see the issue and I'm using ^0.5.1

matiasmm avatar Jul 19 '20 23:07 matiasmm