-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
24 lines (24 loc) · 736 Bytes
/
index.js
File metadata and controls
24 lines (24 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
book: {
assets: "./assets",
css: ["plugin.css"],
js: ["blockly_compressed.js", "plugin.js"]
},
blocks: {
Ai2Method: {
process: function(blk) {
return "<div ai2-block=\"method\" not-rendered value=\""+encodeURI(blk.body)+"\"></div>";
}
},
Ai2Event: {
process: function(blk) {
return "<div ai2-block=\"event\" not-rendered value=\""+encodeURI(blk.body)+"\"></div>";
}
},
Ai2Property: {
process: function(blk) {
return "<div ai2-block=\"property\" not-rendered value=\""+encodeURI(blk.body)+"\"></div>";
}
},
}
}