This commit is contained in:
Oleg Mokhov
2015-06-20 12:26:08 +03:00
committed by mokhov
parent a716969f4e
commit f3546ef3a5
85 changed files with 16682 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
module.exports = function (bt) {
bt.match('config', function (ctx) {
ctx.setTag('script');
ctx.setAttr('id', 'config');
ctx.setAttr('type', 'text/json');
ctx.setContent(JSON.stringify(ctx.getParam('config')));
});
};