function buildViewAllHTML(patternlab, patterns, patternPartial, uikit) {
    return render(
      Pattern.createEmpty({ extendedTemplate: uikit.viewAll }, patternlab),
      {
        // data
        partials: patterns,
        patternPartial: 'viewall-' + patternPartial,
        cacheBuster: patternlab.cacheBuster,
      },
      {
        // templates
        patternSection: uikit.patternSection,
        patternSectionSubgroup: uikit.patternSectionSubgroup,
      }
    ).catch((reason) => {
      console.log(reason);
      logger.error('Error building buildViewAllHTML');
    });
  }
/**
   * Takes a set of patterns and builds a viewall HTML page for them
   * Used by the type and subgroup viewall sets
   * @param patternlab - global data store
   * @param patterns - the set of patterns to build the viewall page for
   * @param patternPartial - a key used to identify the viewall page
   * @returns A promise which resolves with the HTML
   */
Takes a set of patterns and builds a viewall HTML page for them
Used by the type and subgroup viewall sets
@param patternlab - global data store
@param patterns - the set of patterns to build the viewall page for
@param patternPartial - a key used to identify the viewall page
@returns A promise which resolves with the HTML
Takes a set of patterns and builds a viewall HTML page for them Used by the type and subgroup viewall sets @param patternlab - global data store @param patterns - the set of patterns to build the viewall page for @param patternPartial - a key used to identify the viewall page @returns A promise which resolves with the HTML
function buildViewAllHTML(patternlab, patterns, patternPartial, uikit) {
    return render(
      Pattern.createEmpty({ extendedTemplate: uikit.viewAll }, patternlab),
      {
        partials: patterns,
        patternPartial: 'viewall-' + patternPartial,
        cacheBuster: patternlab.cacheBuster,
      },
      {
        patternSection: uikit.patternSection,
        patternSectionSubgroup: uikit.patternSectionSubgroup,
      }
    ).catch((reason) => {
      console.log(reason);
      logger.error('Error building buildViewAllHTML');
    });
  }
function buildViewAllHTML ( patternlab , patterns , patternPartial , uikit ) { return render ( Pattern . createEmpty ( { extendedTemplate : uikit . viewAll } , patternlab ) , { partials : patterns , patternPartial : 'viewall-' + patternPartial , cacheBuster : patternlab . cacheBuster , } , { patternSection : uikit . patternSection , patternSectionSubgroup : uikit . patternSectionSubgroup , } ) . catch ( ( reason ) => { console . log ( reason ) ; logger . error ( 'Error building buildViewAllHTML' ) ; } ) ; }
Takes a set of patterns and builds a viewall HTML page for them
 Used by the type and subgroup viewall sets
 @param patternlab - global data store
 @param patterns - the set of patterns to build the viewall page for
 @param patternPartial - a key used to identify the viewall page
 @returns A promise which resolves with the HTML
Takes a set of patterns and builds a viewall HTML page for them Used by the type and subgroup viewall sets @param patternlab - global data store @param patterns - the set of patterns to build the viewall page for @param patternPartial - a key used to identify the viewall page @returns A promise which resolves with the HTML
// data // templates