Closed runn3r85 closed 10 years ago
It's weird. can you show me how you use it or use dev tools to capture the call chains.
$dom
is not received from outside, it's a jQuery context in $.caret
. if you use $.caret
it should appear.
The error was happening when I was calling $('textarea').caret('pos', 47); For some reason it's now working and not throwing an error. Thanks for the reply!
I've recently started using Caret.js in order to use atWho.js. I'm using it on a rails app and have installed it two ways. First using the jquery-atwho-rails gem, and then manually installing caret.js and atwho.js. Both times I'm getting the following error:
It's happening here specifically on line 366:
Not sure what's causing that or how to fix it, any suggestions?