Fix the plugin extend function
This commit is contained in:
parent
4646944327
commit
06c3304d0d
@ -5587,7 +5587,7 @@
|
||||
if (key === 'events') {
|
||||
obj.prototype[key] = _.extend(value, obj.prototype[key]);
|
||||
} else {
|
||||
if (typeof key === 'function') {
|
||||
if (typeof value === 'function') {
|
||||
obj.prototype._super[key] = obj.prototype[key];
|
||||
}
|
||||
obj.prototype[key] = value;
|
||||
|
Loading…
Reference in New Issue
Block a user