_loadAndCompileLayout(layoutName, filepath) {
        let templateString;

        // skip this layout if we've already compiled a view with the same name
        if (!{}.hasOwnProperty.call(this.views, layoutName)) {
            templateString = loader.loadSync(filepath, 'utf8');
            this.views[layoutName] = handlebars.compile(templateString);
        }
    }
// to provide a custom loader.
to provide a custom loader.
to provide a custom loader .
_loadAndCompileLayout(layoutName, filepath) {
        let templateString;
        if (!{}.hasOwnProperty.call(this.views, layoutName)) {
            templateString = loader.loadSync(filepath, 'utf8');
            this.views[layoutName] = handlebars.compile(templateString);
        }
    }
_loadAndCompileLayout ( layoutName , filepath ) { let templateString ; if ( ! { } . hasOwnProperty . call ( this . views , layoutName ) ) { templateString = loader . loadSync ( filepath , 'utf8' ) ; this . views [ layoutName ] = handlebars . compile ( templateString ) ; } }
to provide a custom loader.
to provide a custom loader .
// skip this layout if we've already compiled a view with the same name