src/index.js
function() {
    this.opened = false;
    Events.emit('inspectortoggle', false);

    // Untrick scene when we enabled this to run the cursor tick.
    this.sceneEl.isPlaying = false;

    this.sceneEl.play();
    this.cursor.pause();

    if (this.sceneEl.hasAttribute('aframe-inspector-removed-embedded')) {
      this.sceneEl.setAttribute('embedded', '');
      this.sceneEl.removeAttribute('aframe-inspector-removed-embedded');
    }
    document.body.classList.remove('aframe-inspector-opened');
    this.sceneEl.resize();
    Shortcuts.disable();
  }
function() {
    this.opened = false;
    Events.emit('inspectortoggle', false);

    // Untrick scene when we enabled this to run the cursor tick.
    this.sceneEl.isPlaying = false;

    this.sceneEl.play();
    this.cursor.pause();

    if (this.sceneEl.hasAttribute('aframe-inspector-removed-embedded')) {
      this.sceneEl.setAttribute('embedded', '');
      this.sceneEl.removeAttribute('aframe-inspector-removed-embedded');
    }
    document.body.classList.remove('aframe-inspector-opened');
    this.sceneEl.resize();
    Shortcuts.disable();
  }
function ( ) { this . opened = false ; Events . emit ( 'inspectortoggle' , false ) ; // Untrick scene when we enabled this to run the cursor tick. this . sceneEl . isPlaying = false ; this . sceneEl . play ( ) ; this . cursor . pause ( ) ; if ( this . sceneEl . hasAttribute ( 'aframe-inspector-removed-embedded' ) ) { this . sceneEl . setAttribute ( 'embedded' , '' ) ; this . sceneEl . removeAttribute ( 'aframe-inspector-removed-embedded' ) ; } document . body . classList . remove ( 'aframe-inspector-opened' ) ; this . sceneEl . resize ( ) ; Shortcuts . disable ( ) ; }
Closes the editor and gives the control back to the scene
@return {[type]} [description]
Closes the editor and gives the control back to the scene