Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rangy.getSelection is undefined in 1.3.0-alpha.20140822 #241
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