add initial marp implementation with sample content and build configuration
This commit is contained in:
25
node_modules/mj-context-menu/js/variable_pool.js
generated
vendored
Normal file
25
node_modules/mj-context-menu/js/variable_pool.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.VariablePool = void 0;
|
||||
var VariablePool = (function () {
|
||||
function VariablePool() {
|
||||
this.pool = {};
|
||||
}
|
||||
VariablePool.prototype.insert = function (variable) {
|
||||
this.pool[variable.name] = variable;
|
||||
};
|
||||
VariablePool.prototype.lookup = function (name) {
|
||||
return this.pool[name];
|
||||
};
|
||||
VariablePool.prototype.remove = function (name) {
|
||||
delete this.pool[name];
|
||||
};
|
||||
VariablePool.prototype.update = function () {
|
||||
for (var variable in this.pool) {
|
||||
this.pool[variable].update();
|
||||
}
|
||||
};
|
||||
return VariablePool;
|
||||
}());
|
||||
exports.VariablePool = VariablePool;
|
||||
//# sourceMappingURL=variable_pool.js.map
|
||||
Reference in New Issue
Block a user