app-decorators
Version:
Collection of useful ES7 Decorators, writtin in ES6, that can be used for building webapps
26 lines (21 loc) • 820 B
JavaScript
System.register(['app-decorators/src/libs/element-to-function'], function (_export, _context) {
"use strict";
var _elementToFunc, elementToFunction;
return {
setters: [function (_appDecoratorsSrcLibsElementToFunction) {
_elementToFunc = _appDecoratorsSrcLibsElementToFunction.default;
}],
execute: function () {
elementToFunction = function elementToFunction(Element) {
if (typeof Element === 'function') {
return Element;
}
var _Element = function _Element() {};
_Element.prototype = Element.prototype;
return _Element;
};
_export('default', elementToFunction);
}
};
});
//# sourceMappingURL=element-to-function.js.map