Merge pull request #5901 from murb/patch-1
add typeof check to checkDeprecatedMixinEvents
This commit is contained in:
commit
96164fcff0
@ -112,7 +112,7 @@ Class.addInitHook = function (fn) { // (Function) || (String, args...)
|
||||
};
|
||||
|
||||
function checkDeprecatedMixinEvents(includes) {
|
||||
if (!L || !L.Mixin) { return; }
|
||||
if (typeof L === 'undefined' || !L || !L.Mixin) { return; }
|
||||
|
||||
includes = Util.isArray(includes) ? includes : [includes];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user