GULP DIST
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { isString } from '../core/utils.js';
|
||||
import IMask from '../core/holder.js';
|
||||
import '../_rollupPluginBabelHelpers-a0b34764.js';
|
||||
import '../_rollupPluginBabelHelpers-b054ecd2.js';
|
||||
import '../core/change-details.js';
|
||||
|
||||
/** Get Masked class by mask type */
|
||||
|
||||
@@ -22,9 +23,9 @@ function maskedClass(mask) {
|
||||
|
||||
if (IMask.Masked && mask.prototype instanceof IMask.Masked) return mask; // $FlowFixMe
|
||||
|
||||
if (mask instanceof Function) return IMask.MaskedFunction; // $FlowFixMe
|
||||
if (mask instanceof IMask.Masked) return mask.constructor; // $FlowFixMe
|
||||
|
||||
if (mask instanceof IMask.Masked) return mask.constructor;
|
||||
if (mask instanceof Function) return IMask.MaskedFunction;
|
||||
console.warn('Mask not found for mask', mask); // eslint-disable-line no-console
|
||||
// $FlowFixMe
|
||||
|
||||
|
||||
Reference in New Issue
Block a user