mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
17 lines
221 B
JavaScript
17 lines
221 B
JavaScript
'use strict';
|
|
|
|
let list = [];
|
|
|
|
module.exports.add = (el, name, fn) => {
|
|
list.push([
|
|
el,
|
|
name,
|
|
fn,
|
|
]);
|
|
};
|
|
|
|
module.exports.clear = () => {
|
|
list = [];
|
|
};
|
|
|
|
module.exports.get = () => list;
|