index.js
function noMoreTemplates() {
        registryComplete = true;
        // Reject all unresolved promises
        Object.keys(registry).forEach(function(templateName) {
            registry[templateName].reject(noSuchTemplate(templateName));
        });
        theOnlyTemplate.reject(noSuchTemplate('<default>'));
    }
function noMoreTemplates() {
        registryComplete = true;
        // Reject all unresolved promises
        Object.keys(registry).forEach(function(templateName) {
            registry[templateName].reject(noSuchTemplate(templateName));
        });
        theOnlyTemplate.reject(noSuchTemplate('<default>'));
    }
function noMoreTemplates ( ) { registryComplete = true ; // Reject all unresolved promises Object . keys ( registry ) . forEach ( function ( templateName ) { registry [ templateName ] . reject ( noSuchTemplate ( templateName ) ) ; } ) ; theOnlyTemplate . reject ( noSuchTemplate ( '<default>' ) ) ; }
Indicate that there will be no more incoming templates
Indicate that there will be no more incoming templates