googlearchive / js-info-bubble

A library for customizable CSS3 InfoWindows in the Google Maps JavaScript API v3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InfoBubble is not a constructor

jacobwise opened this issue · comments

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.

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?