test/HMR/public/dist/bundle.js
/**
 * Register a component to global
 * @param cmp
 */
Register a component to global
@param cmp
Register a component to global @param cmp
function register(cmp) {
    var collection = getOrCreate();
    var tag = cmp.tag.toUpperCase();
    if (collection.hasOwnProperty(tag)) console.warn('Doz', 'component ' + tag + ' overwritten');
    collection[tag] = cmp;
}
function register ( cmp ) { var collection = getOrCreate ( ) ; var tag = cmp . tag . toUpperCase ( ) ; if ( collection . hasOwnProperty ( tag ) ) console . warn ( 'Doz' , 'component ' + tag + ' overwritten' ) ; collection [ tag ] = cmp ; }
Register a component to global
 @param cmp
Register a component to global @param cmp
/*
    if (!collection.hasOwnProperty(tag)) {
        collection[tag] = cmp;
    } else {
        throw new Error(`Component ${tag} already defined`);
    }
    */