Closed jgunnink closed 8 years ago
Uncaught ReferenceError: google is not defined
Sounds like you have not imported google maps before this lib.
Uncaught TypeError: GmapsCompleterDefaultAssist is not a function
Check the code, make a patch and a pull to fix it. I haven't touched Ruby the past ~3 years... I have merged a few pulls without testing. Sorry.
Looking at the .coffee
code` however, it looks fine.
I'd suggest you clone the repo and take it for a spin on its own first.
Yeah, the coffee code seems fine to me also, I did not realise that it importing google maps was requirement as the readme did not specify it - thanks anyway. FWIW, the google dev docs have been recently updated and I was able to solve my issue quickly using their implementation using their API.
Great! Just updated the troubleshooting section accordingly ;) Feel free to improve this lib as you see fit.
Following the readme, I have encountered two errors when trying to use this gem.
Uncaught ReferenceError: google is not defined
andUncaught TypeError: GmapsCompleterDefaultAssist is not a function
More detail: