docs/vendor.js
function cacheMatchingLocalNames(tNode, localRefs, exportsMap) {
    if (localRefs) {
        var localNames = tNode.localNames = [];
        // Local names must be stored in tNode in the same order that localRefs are defined
        // in the template to ensure the data is loaded in the same slots as their refs
        // in the template (for template queries).
        for (var i = 0; i < localRefs.length; i += 2) {
            var index = exportsMap[localRefs[i + 1]];
            if (index == null)
                throw new Error("Export of name '" + localRefs[i + 1] + "' not found!");
            localNames.push(localRefs[i], index);
        }
    }
}
function cacheMatchingLocalNames(tNode, localRefs, exportsMap) {
    if (localRefs) {
        var localNames = tNode.localNames = [];
        // Local names must be stored in tNode in the same order that localRefs are defined
        // in the template to ensure the data is loaded in the same slots as their refs
        // in the template (for template queries).
        for (var i = 0; i < localRefs.length; i += 2) {
            var index = exportsMap[localRefs[i + 1]];
            if (index == null)
                throw new Error("Export of name '" + localRefs[i + 1] + "' not found!");
            localNames.push(localRefs[i], index);
        }
    }
}
function cacheMatchingLocalNames ( tNode , localRefs , exportsMap ) { if ( localRefs ) { var localNames = tNode . localNames = [ ] ; // Local names must be stored in tNode in the same order that localRefs are defined // in the template to ensure the data is loaded in the same slots as their refs // in the template (for template queries). for ( var i = 0 ; i < localRefs . length ; i += 2 ) { var index = exportsMap [ localRefs [ i + 1 ] ] ; if ( index == null ) throw new Error ( "Export of name '" + localRefs [ i + 1 ] + "' not found!" ) ; localNames . push ( localRefs [ i ] , index ) ; } } }
Caches local names and their matching directive indices for query and template lookups.
Caches local names and their matching directive indices for query and template lookups .