UNPKG

okam-build

Version:

The build tool for Okam develop framework

17 lines (13 loc) 408 B
/** * @file Transform ant for syntax * @author sparklewhy@gmail.com */ 'use strict'; 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); };