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

"Maximum call stack size exceeded" when including multiple jqMobi scrollers #72

Closed
spessler opened this Issue Feb 12, 2013 · 4 comments

Comments

Projects
None yet
3 participants
@spessler
Copy link

spessler commented Feb 12, 2013

I am testing mobiscroll in a jqMobi environment. When I attempt to load more than one scroller (jqMobi version) library I get the following javascript error: "Uncaught RangeError: Maximum call stack size exceeded"

This issue can be reproduced as follows: Download the Datetime scroller and the Select scroller. Copy the select scroller js file into the Datetime sample code js folder. Edit the index file to include the select js file. I am using chrome - open index.html & you will see the error - too many 'a.extend' calls break the stack.

@ghost

This comment has been minimized.

Copy link
Collaborator

ghost commented Feb 12, 2013

@dioslaska

This comment has been minimized.

Copy link
Contributor

dioslaska commented Feb 13, 2013

This is a bug in our jqMobi extension module (if included multiple times).
However you can make it work if you download the datetime and select scroller compiled in one package (instead of sepparate downloads - this is recommended anyway):
http://download.mobiscroll.com/datetime/prod#/select/datetime/animation/en/jqmobi

@spessler

This comment has been minimized.

Copy link

spessler commented Feb 13, 2013

Thanks guys - the compiled package works as expected. I didn't realize you could combine into a custom download (rtfm, right?).

@dioslaska

This comment has been minimized.

Copy link
Contributor

dioslaska commented Feb 15, 2013

Fixed

@dioslaska dioslaska closed this Feb 15, 2013

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