-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rangy.getSelection is undefined in 1.3.0-alpha.20140822 #241
Comments
OK. I've probably messed something up. |
How did you include |
I was loading it via RequireJS as usual. I found one of demo omitted requirejs.config
paths:
'rangy': '../bower_components/rangy-official/lib/rangy-core' require ['rangy'], (rangy) ->
rangy.init() # also tried the case I don't call it
rangy.getSelection() # where I found that was undefined |
Confirmed. Working on it. |
Fixed. |
Thanks. Confirm working here :) |
Just installed this Bower package
rangy-offcial
but only includedrange-core
in my project. And I got an error when I was callinggetSelection
:The text was updated successfully, but these errors were encountered: