Skip to content


MooTools 1.4.5 problem #195

resistorsoftware opened this Issue · 1 comment

2 participants


Added mootools.mustache.js to a site with mootools-1.4.5.js

When rendering the error

Uncaught TypeError: Cannot call method 'contains' of undefined

occurs at

[Element, Window, Document].invoke('implement', {
addEvent: function(type, fn){
    var events = this.retrieve('events', {});
    if (!events[type]) events[type] = {keys: [], values: []};
    if (events[type].keys.contains(fn)) return this;

on events[type].keys


I'll close this issue due to inactivity. If it's still relevant, leave a comment and I'll reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.