text: import Modal from '../cms.modal';
  
  import keyboard from '../keyboard';
  import tmpl from '../tmpl';
  var template = require('./help.html');
  
  /**
   * Binds [?] to open modal with shorcuts listing.
   *
   * @function initHelpShortcut
   * @public
   */
  export default function initHelpShortcut() {
      var shortcutAreas = CMS.config.lang.shortcutAreas;
      var modal = new Modal({
          width: 600,
          height: 600,
          resizable: false,
          minimizable: false,
          maximizable: false
      });
  
      keyboard.setContext('cms');
      keyboard.bind('?', function () {
          modal.open({
              title: CMS.config.lang.shortcuts,
              width: 600,
              height: 660,
              html: tmpl(template, { shortcutAreas: shortcutAreas })
          });
      });
  }
  