code: function _replacePartials(html, partials) {
    let result = html;
  
    if (!Utils.isEmpty(partials)) {
      Utils.times(PARTIALS_DEPTH, () => {
        result = result.replace(PARTIALS_REGEX, (match, name) => partials[name] || '');
      });
    }
  
    return result;
  }
docs: @private
  
  Replaces partial template tags with partial content
  
  @param {Object} partials - partial names and content
  @return {string} html