fnp
/
redakcja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
More changes to the REST API.
[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();