Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Splitter.js won't work with new versions of jQuery

I'm using Splitter.js in a project.

The code is from http://methvin.com/splitter/ The specific JS is at http://methvin.com/splitter/splitter.js

When using jQuery v1.5.2, the code works correctly.

When I move to jQuery v1.7.2, the code fails, and gives a "Too Much recursion" error. This also appears to happen when I use jQuery 1.6.2

Does anyone have a workaround for this?

I did find an (updated?) version of splitter.js at https://bungeni-exist.googlecode.com/svn-history/r188/xq-framework/trunk/db/framework/assets/bungeni/scripts/splitter.js but this doesn't appear to solve the problem.

Any advice would be appreciated.

like image 611
Colin Davis Avatar asked Apr 10 '12 22:04

Colin Davis


1 Answers

There's an updated fork of jQuery.splitter that works with jQuery 1.8 (also 1.9 if you restore jQuery.browser) at https://github.com/e1ven/jQuery-Splitter.

like image 106
jd. Avatar answered Sep 20 '22 15:09

jd.