lib/kissy/5.0.0-alpha.10/xtemplate/runtime.js
function (commandName, fn) {
            var config = this.config;
            config.commands = config.commands || {};
            config.commands[commandName] = fn;
        }
function (commandName, fn) {
            var config = this.config;
            config.commands = config.commands || {};
            config.commands[commandName] = fn;
        }
function ( commandName , fn ) { var config = this . config ; config . commands = config . commands || { } ; config . commands [ commandName ] = fn ; }
add command definition to current template
@param commandName
@param {Function} fn command definition
add command definition to current template