foxxtrot/yui3-gallery

Getting errors when using destructor

Opened this issue · 1 comments

When calling the destructor method I am getting errors in the _unbindEvents private function. It says that unbind() is not a function.

I think it should be changed to detach().

    _unbindEvents: function() {
            if (this._MM) { this._MM.detach(); }
            if (this._MO) { this._MO.detach(); }
            if (this._ME) { this._ME.detach(); }
    },

Which module are you trying to use?