moocanvas
moocanvas copied to clipboard
MooCanvas breaks with MooTools 1.2.3
the $.element is no longer defined in MooTools 1.2.3 and there breaks MooCanvas if using MooTools 1.2.3
I have temporally fixed this by defining $.element in Canvas.js:
$.element = function(el, nocash){
$uid(el);
if (!nocash && !el.$family && !(/^object|embed$/i).test(el.tagName)){
var proto = Element.Prototype;
for (var p in proto) el[p] = proto[p];
};
return el;
};
just before: $.Element = $.element;