mframejs
Version:
simple framework
25 lines • 780 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var attribute = new Map();
var ContainerAttributes = (function () {
function ContainerAttributes() {
}
ContainerAttributes.regAttribute = function (_class, name) {
if (!attribute.has(name)) {
attribute.set(name, _class);
}
if (!attribute.has(name)) {
attribute.set(name, _class);
}
};
ContainerAttributes.findAttribute = function (name) {
if (attribute.has(name)) {
return attribute.get(name);
}
else {
return null;
}
};
return ContainerAttributes;
}());
exports.ContainerAttributes = ContainerAttributes;
//# sourceMappingURL=containerAttributes.js.map