okam-build
Version:
The build tool for Okam develop framework
17 lines (13 loc) • 376 B
JavaScript
/**
* @file Transform swan for syntax
* @author sparklewhy@gmail.com
*/
;
const transformFor = require('../base/for');
module.exports = function (attrs, name, tplOpts, opts, element) {
transformFor(attrs, name, tplOpts, Object.assign({
forDirectionName: 's-for',
supportForAbbr: true,
tripleBrace: true
}, opts), element);
};