'activePage$' not set in production environment #139

Open
therealkristoffer opened this Issue Jul 29, 2013 · 1 comment

Projects

None yet

2 participants

@therealkristoffer

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$'.

The rest of pagers seems to work as it should.
capture5

Any ideas on what the problem might be?

@finnsson
Owner
finnsson commented Aug 1, 2013

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment