googlearchive / js-info-bubble

A library for customizable CSS3 InfoWindows in the Google Maps JavaScript API v3
Apache License 2.0
226 stars 183 forks source link

InfoBubble is not a constructor #29

Open jacobwise opened 8 years ago

jacobwise commented 8 years ago

I kept getting a

InfoBubble is not a constructor

error in NPM environment.

To fix, I added module.exports = InfoBubble at the bottom of the infobubble.js file.

yeedle commented 7 years ago

Thanks so much! However, editing node modules is not my favorite way of solving a problem... Is there a way I can import (using es6) the InfoBubble member without it being explicitly exported in the infobubble.js file?