Hi, total rangy beginner here. I was hoping to use it for my project so I downloaded 2.3 today. Unfortunately, I didn't get very far. Calling createRange() on rangy from one of my javascripts resulted in the following error:
Uncaught TypeError: Object #<Object> has no method 'createRange' .
Fair enough, I thought, I must have loaded things in the wrong order or not at all. Weirdly though, if I go into console after page load I can execute rangy.createRange() just fine.
The next thing I tried was console.log of rangy and rangy.createRange and rangy.createRange(). The results of that were
a rangy object (as expected, and containing a createRange function),
undefined,
and finally the error message above.
Is this a common issue for rangy noobies? I bet it is something basic I have forgotten but I can't figure it out, thanks in advance for any thoughts.