okam-build
Version:
The build tool for Okam develop framework
17 lines (13 loc) • 408 B
JavaScript
/**
* @file Transform ant 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: 'a:for',
forItemDirectiveName: 'a:for-item',
forIndexDirectiveName: 'a:for-index'
}, opts), element);
};