public/javascripts/codemirror/js/editor.js
function() {
      if (!this.container.firstChild)
        return "";

      var accum = [];
      select.markSelection(this.win);
      forEach(traverseDOM(this.container.firstChild), method(accum, "push"));
      webkitLastLineHack(this.container);
      select.selectMarked();
      return cleanText(accum.join(""));
    }
function() {
      if (!this.container.firstChild)
        return "";

      var accum = [];
      select.markSelection(this.win);
      forEach(traverseDOM(this.container.firstChild), method(accum, "push"));
      webkitLastLineHack(this.container);
      select.selectMarked();
      return cleanText(accum.join(""));
    }
function ( ) { if ( ! this . container . firstChild ) return "" ; var accum = [ ] ; select . markSelection ( this . win ) ; forEach ( traverseDOM ( this . container . firstChild ) , method ( accum , "push" ) ) ; webkitLastLineHack ( this . container ) ; select . selectMarked ( ) ; return cleanText ( accum . join ( "" ) ) ; }
Extract the code from the editor.
Extract the code from the editor .