dist/es5/dev/templating/dom.js
function setAttribute(node, prop, value) {
            if (node && node.el) {
                if (isObject(prop)) {
                    Object.keys(prop).forEach(function (key) {
                        node.el.setAttribute(key, prop[key]);
                    });
                } else {
                    node.el.setAttribute(prop, value);
                }
            }
        }
function setAttribute(node, prop, value) {
            if (node && node.el) {
                if (isObject(prop)) {
                    Object.keys(prop).forEach(function (key) {
                        node.el.setAttribute(key, prop[key]);
                    });
                } else {
                    node.el.setAttribute(prop, value);
                }
            }
        }
function setAttribute ( node , prop , value ) { if ( node && node . el ) { if ( isObject ( prop ) ) { Object . keys ( prop ) . forEach ( function ( key ) { node . el . setAttribute ( key , prop [ key ] ) ; } ) ; } else { node . el . setAttribute ( prop , value ) ; } } }
Setting Attribute in to node  @method setAttribute @prop {dom.Element} node @prop {String||Object} prop @prop {String} value
Setting Attribute in to node