undefined is not a function

10.4k Views Asked by At

So I'm trying to use rightjs's autocompleter (http://rightjs.org/ui/autocompleter) but when loading it up in my web browser I'm getting 'uncaught TypeError: undefined is not a function' on line 112. any ideas? my code: http://paste.pocoo.org/show/409248/

1

There are 1 best solutions below

3
On

My guess is you don't have right.js included before right-autocompleter.js because it is complaining that RightJS.Class is not a function which it is true if Class is not defined in the RightJS object.