jaxbot / browserlink.vim

Live browser editing for Vim
MIT License
711 stars 38 forks source link

Error with 'toLowerCase' #49

Open mcgdb opened 8 years ago

mcgdb commented 8 years ago

Hello,

Plugin looks great, but so far, haven't been able to get it up and running..

I'm using NeoVim, and as pointed out in another issue, I had to start the service by running node browserlink.js in a separate terminal...It seems to work fine, but when I inspect the console within Chrome, I see an error get thrown from time to time that says:

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined (anonymous function) @ ih.js.223

Any idea what that means?

I'm running ArchLinux, with NeoVim 0.1.4, node.js 6.3.1

jaxbot commented 8 years ago

That error is really strange -- doesn't sound like it's coming from the BL.vim frontend. Is it from another extension maybe?

mcgdb commented 8 years ago

I thought so too...But, I also checked that removing the javascript command from the top of the page removes the error...perhaps obviously.

However, if I reload the page in an incognito window with all extensions disabled, the error still appears.