balderdashy/mast

Global app object

Opened this issue · 1 comments

Global app object

Technically, the quickest way is to make Framework.components.Body always exist, using the definition if one was provided (otherwise using an empty definition). Set it's template to be the <body> tag. Now all regions are inside a template.

Framework.define('Body', function () {
  return {
    /* 'Body' always refers to the <body> tag instead of a true template */
  };
});