jparallax icon indicating copy to clipboard operation
jparallax copied to clipboard

minified version does not work

Open stefan-1st opened this issue 11 years ago • 3 comments

I am using jquery 2.0.3. Including jquery.jparallax.min.js throws the following error:

TypeError: d.event.handle is undefined

Error occures in line 14 in FF 26.

Chrome 32 gives:

Uncaught TypeError: Cannot call method 'apply' of undefined

I minified the files with uglifyjs and that worked.

stefan-1st avatar Jan 26 '14 20:01 stefan-1st

this is because the plugin does not work with jquery 1,7+ due to a deprecated method

gsabater avatar Feb 01 '14 15:02 gsabater

Will there ever be a fix for this?

invot avatar Apr 08 '14 18:04 invot

The fix is already there (in jquery.event.frame), but unfortunately it didn't make it into the .min.js file!

Workaround: Instead of including the .min.js-Version, include both the jquery.event.frame.js and the normal parallax.js file (both lying in the js/ folder).

gr8bit avatar May 29 '14 16:05 gr8bit