I have searched this problem all over the web and none of them seem to give me any resolution. I have a simple script to just display the map of South Africa.
Version 3.30+ is affected of this problem if there is a global var called Map.
Map
ex:
We got this error:
TypeError: a.prototype is undefined
Renaming window.Map then everything goes fine.
window.Map