text: export class $famous {
      constructor() {
          if (!$famous.created) {
              throw new Error("$famous is a singleton. Call $famous.get() instead.");
          }
          this.engine = famous.core.FamousEngine;
          this.scene = this.engine.createScene();
          this.engine.init();
      }
      static get() {
          if ($famous.instance == null) {
              $famous.created = true;
              $famous.instance = new $famous();
              $famous.created = false;
          }
          return $famous.instance;
      }
  }
  $famous.created = false;
  