Open robins36 opened 10 years ago
Same here, would be really great, any idea how?
It's not an issue with jQuery. If you download the source files and just swap out the jQuery version to 1.11.0 you'll see that it still works perfectly fine. I was able to get it up and working by doing the following:
var Grid = function()
variable and removed all the $
variables and swapped out the $
when it was a shortname for jQuery. This ensures that the script is loaded in no-conflict mode which WordPress enforces for all jQuery scripts.This is my result: https://gist.github.com/mathetos/f70513bfe71fef9c2306
I'm not a JS pro, but that's basically how I got it working with WordPress 4.4.
I've had good experiences using this plugin with Wordpress sites running JQuery 1.9, but the latest version of Wordpress uses JQuery 1.11, which seems to break the plugin. I get these issues that I did not get before using the older version of JQuery:
1). Uncaught TypeError: Cannot read property 'event' of undefined![screen shot 2014-06-03 at 10 49 50 am](https://cloud.githubusercontent.com/assets/5091185/3161697/5a71774a-eb2e-11e3-8c05-55ea6cf12dfb.png)
2). Uncaught TypeError: undefined is not a function![screen shot 2014-06-03 at 10 50 45 am](https://cloud.githubusercontent.com/assets/5091185/3161712/78c867f8-eb2e-11e3-89ac-726e3f8d9980.png)
Is there any chance of updating the code to work with JQuery 1.11?