message: fix(dotcomshell): update readme; dotcomshell getData functions private
diff: @@ -8,28 +8,14 @@ import { Footer } from '../footer';
  import { Masthead } from '../masthead';
  import dotcomshellTemplate from './dotcomshell.template';
  -/**
  - * class to initialize Dotcomshell component
  - *
  - */
  -class DotcomShell {
  - /**
  - * Initialize the dotcom shell
  - *
  - * @param {string} el Element to initialize with Carbon create()
  - */
  - static init(el) {
  - Masthead.init();
  - Footer.init(el);
  - }
  -
  /**
  * renders the masthead
  *
  * @param {object} mastheadProps Masthead properties
  * @returns {string} string
  + * @private
  */
  - static async _getMasthead(mastheadProps) {
  +async function _getMasthead(mastheadProps) {
  const template = await Masthead.getMastheadWithData(
  mastheadProps.navigation,
  mastheadProps.platform,
  @@ -46,13 +32,29 @@ class DotcomShell {
  *
  * @param {object} footerProps Footer properties
  * @returns {string} string
  + * @private
  */
  - static async _getFooter(footerProps) {
  +async function _getFooter(footerProps) {
  const template = await Footer.getFooterWithData(footerProps);
  return template;
  }
  +/**
  + * class to initialize Dotcomshell component
  + *
  + */
  +class DotcomShell {
  + /**
  + * Initialize the dotcom shell
  + *
  + * @param {string} el Element to initialize with Carbon create()
  + */
  + static init(el) {
  + Masthead.init();
  + Footer.init(el);
  + }
  +
  /**
  * This creates the DotcomShell with masthead, footer, and content
  *
  @@ -60,8 +62,8 @@ class DotcomShell {
  * @returns {Promise} Returned HTML content
  */
  static async getDotcomShellWithData({ content, ...dotcomShellProps }) {
  - const masthead = await this._getMasthead(dotcomShellProps.masthead);
  - const footer = await this._getFooter(dotcomShellProps.footer.footerType);
  + const masthead = await _getMasthead(dotcomShellProps.masthead);
  + const footer = await _getFooter(dotcomShellProps.footer.footerType);
  return dotcomshellTemplate(masthead, content, footer);
  }
  