2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-15 11:59:37 +03:00

feat(core): add tree.messages array and tree.options

a way to communicate between plugins
This commit is contained in:
Nikolay Kostyurin
2019-03-29 10:33:26 +02:00
parent c9e1dabf40
commit cd2b6fd2fb
+2
View File
@@ -30,6 +30,8 @@ export default function bbob(plugs) {
// raw tree before modification with plugins
const raw = tree;
tree.messages = [];
tree.options = options;
tree.walk = walk;
tree.match = match;