dommetry
Version:
The W3C Geometry Interfaces implemented in JavaScript and polyfilled.
36 lines (26 loc) • 961 B
JavaScript
;
Object.defineProperty(exports, '__esModule', {
value: true
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _DOMMatrix = require('./DOMMatrix');
var _DOMMatrix2 = _interopRequireDefault(_DOMMatrix);
var _DOMMatrixReadOnly = require('./DOMMatrixReadOnly');
var _DOMMatrixReadOnly2 = _interopRequireDefault(_DOMMatrixReadOnly);
// hack needed for global build:
if (typeof __webpack_require__ != 'undefined') {
var _global = null;
// browser
if (typeof window != 'undefined') {
_global = window;
} else if (typeof global != 'undefined') {
_global = global;
}
if (_global) {
_global.DOMMatrix = _DOMMatrix2['default'];
_global.DOMMatrixReadOnly = _DOMMatrixReadOnly2['default'];
}
}
exports.DOMMatrix = _DOMMatrix2['default'];
exports.DOMMatrixReadOnly = _DOMMatrixReadOnly2['default'];
//# sourceMappingURL=index.js.map