Updated API tests.
[redakcja.git] / project / templates / toolbar_api / scriptlets.js
1 function SciptletCenter() {
2
3     this.scriptlets = {
4         {% for scriptlet in scriptlets %}
5         "{{scriptlet.name}}": function(context, params) {
6             {{scriptlet.code|safe}}
7         },
8         {% endfor %}
9
10         _none: null
11     };
12             
13 }
14
15 scriptletCenter = new ScriptletCenter();