okam-build
Version:
The build tool for Okam develop framework
15 lines (11 loc) • 329 B
JavaScript
/**
* @file Transform weixin for key syntax
* @author sparklewhy@gmail.com
*/
;
const transformKey = require('../base/key');
module.exports = function (attrs, name, tplOpts, opts, element) {
transformKey(attrs, name, tplOpts, Object.assign({
forKeyDirectiveName: 'wx:key'
}, opts), element);
};