tapmodo / Jcrop

Jcrop - The Javascript Image Cropping Engine
https://jcrop.com
Other
4.31k stars 939 forks source link

Invalid regular expression: /(^|\.)jcrop(\.|$)/: Stack overflow #78

Closed vitulicny closed 11 years ago

vitulicny commented 11 years ago

i get these errors: in chrome Uncaught SyntaxError: Invalid regular expression: /(^|.)jcrop(.|$)/: Stack overflow in safari: jquery.js:1751 RangeError: Maximum call stack size exceeded.

i just updated to 0.9.12 jcrop and 1.9.1 jquery

does anyone know what could be wrong or what to check. thank you.

vitulicny commented 11 years ago

problem was Bootstrap Version 2.3.0. downgrade to 2.1.0 solved the problem.

sadfuzzy commented 11 years ago

Where is the problelm exactly?

vitulicny commented 11 years ago

I do not know. you can try to reproduce this. i have a rails app with 0.9.12 jcrop and 1.9.1 jquery and 2.3.0 bootstrap.

sadfuzzy commented 11 years ago

I get the same error...

vitulicny commented 11 years ago

easy but not ideal solution: downgrade to bootstrap 2.1.0

sadfuzzy commented 11 years ago

Do you know the difference between 2.2.3 and 2.1.0? What should I expect to be broken?

vitulicny commented 11 years ago

sorry. no idea.