Adding references (as it's also yours) :) http://stackoverflow.com/questions/5349640/how-do-i-replace-function-create-from-mootools-1-2-to-1-3
2011/3/18 websam <mar...@kites.dk> > Hi there i have this code snippet I need to get working with MooTools > 1.3 : > > this.fn = function (e, cal) { > var e = new Event(e); > var el = e.target; > var stop = false; > > while (el != document.body && el.nodeType == 1) { > if (el == this.calendar) { stop = true; } > this.calendars.each(function (kal) { > if (kal.button == el || kal.els.contains(el)) { stop = > true; } > }); > > if (stop) { > e.stop(); > return false; > } > else { el = el.parentNode; } > } > this.toggle(cal); > }.create({ > 'arguments': cal, > 'bind': this, > 'event': true > }); <-- THIS CREATE METHOD DOES NOT WORK > > Can someone help me whit this ? >