My code is working fine when i run it in my debugging environment at localhost but in production i get the error Uncaught TypeError: Object #<Object> has no method 'activePage$'.
Uncaught TypeError: Object #<Object> has no method 'activePage$'
The rest of pagers seems to work as it should.
Any ideas on what the problem might be?
Sorry for the late reply. I've been on vacation.
Extremely strange. I cannot see anything in the source code that could somehow prevent activePage$. Maybe it is accessed before it is set (in extendWithPage)?
My only tip would be to try changing activePage$ into a property (just after calling pager.extendWithPage) and set a breakpoint on setting the property. Maybe there is some code on your side that in setting activePage$ to null?