Latest updates from IceHrmPro
This commit is contained in:
23
web/node_modules/antd/lib/_util/styleChecker.js
generated
vendored
Normal file
23
web/node_modules/antd/lib/_util/styleChecker.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports["default"] = exports.isFlexSupported = void 0;
|
||||
|
||||
var isStyleSupport = function isStyleSupport(styleName) {
|
||||
if (typeof window !== 'undefined' && window.document && window.document.documentElement) {
|
||||
var styleNameList = Array.isArray(styleName) ? styleName : [styleName];
|
||||
var documentElement = window.document.documentElement;
|
||||
return styleNameList.some(function (name) {
|
||||
return name in documentElement.style;
|
||||
});
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
var isFlexSupported = isStyleSupport(['flex', 'webkitFlex', 'Flex', 'msFlex']);
|
||||
exports.isFlexSupported = isFlexSupported;
|
||||
var _default = isStyleSupport;
|
||||
exports["default"] = _default;
|
||||
Reference in New Issue
Block a user