Right now we use codemirror's JavaScript mode on the website but there's a JSX mode now so we should start using that instead.

return removeChildren(parent).appendChild(e);
  }
  function setTextContent(e, str) {
    if (ie_lt9) {
      e.innerHTML = "";
      e.appendChild(document.createTextNode(str));
    } else e.textContent = str;
  }
  function getRect(node) {
    return node.getBoundingClientRect();
  }
  CodeMirror.replaceGetRect = function(f) { getRect = f; };
  
  
  var dragAndDrop = function() {
    
    
    if (ie_lt9) return false;
    var div = elt('div');
    return "draggable" in div || "dragDrop" in div;
  }();
  
  
  
  
  
  
  
  function spanAffectsWrapping() { return false; }