You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to find out what's going on here. I found that typeof $.fn.maphilight === 'function' is false. I also found that the jQuery object that is being passed to the maphilight factory is not the same object as my jQuery object in my javascript file.
How can I get maphilight to work within my setup?
The text was updated successfully, but these errors were encountered:
I'm trying to install and use jquery.maphilight through NPM and Webpack.
I'm requiring jQuery and maphilight in my package.json.
In my js file I do:
But then
$('.mymap').maphilight()
doesn't work.I tried to find out what's going on here. I found that
typeof $.fn.maphilight === 'function'
is false. I also found that the jQuery object that is being passed to the maphilight factory is not the same object as my jQuery object in my javascript file.How can I get maphilight to work within my setup?
The text was updated successfully, but these errors were encountered: