CraftyDebug icon indicating copy to clipboard operation
CraftyDebug copied to clipboard

can't initialise ... .live don't existe !!!!

Open andrelec1 opened this issue 11 years ago • 1 comments

juste add : Crafty.modules({ 'crafty-debug-bar': 'release' }, function () { Crafty.debugBar.show(); }); at the end of my own code !!!!

when i try to execute i have : [01:30:13,456] TypeError: $(...).live is not a function @ http://cdn.craftycomponents.com/crafty-debug-bar-release.js:322

andrelec1 avatar May 26 '13 03:05 andrelec1

This is likely caused by the version of JQuery you are using. 'live' was deprecated in jquery 1.7 and removed in 1.9. Fix might be as simple as using the 'on' method instead.

sgmeyer avatar Oct 15 '13 19:10 sgmeyer