lib/jyt.runtime.js
function registerComponents(elemNames) {
    if (!elemNames) { return; }

    var elemNameDashCase, elemNameCamelCase;
    for (var i = 0; i < elemNames.length; i++) {
        elemNameDashCase = elemNames[i];
        elemNameCamelCase = utils.dashToCamelCase(elemNameDashCase);
        elems[elemNameCamelCase] = makeElem(elemNameDashCase);
    }
}
function registerComponents(elemNames) {
    if (!elemNames) { return; }

    var elemNameDashCase, elemNameCamelCase;
    for (var i = 0; i < elemNames.length; i++) {
        elemNameDashCase = elemNames[i];
        elemNameCamelCase = utils.dashToCamelCase(elemNameDashCase);
        elems[elemNameCamelCase] = makeElem(elemNameDashCase);
    }
}
function registerComponents ( elemNames ) { if ( ! elemNames ) { return ; } var elemNameDashCase , elemNameCamelCase ; for ( var i = 0 ; i < elemNames . length ; i ++ ) { elemNameDashCase = elemNames [ i ] ; elemNameCamelCase = utils . dashToCamelCase ( elemNameDashCase ) ; elems [ elemNameCamelCase ] = makeElem ( elemNameDashCase ) ; } }
Given an array of element names, register the custom
elements so that a user can make them accessible
@param elemNames
Given an array of element names register the custom elements so that a user can make them accessible