File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ var isExecutingCode = false; // nasty, nasty global
6464var appMode = 'edit' ; // 'edit' or 'display'. also support
6565 // 'visualize' for backward compatibility (same as 'display')
6666
67- var pyInputCodeMirror ; // CodeMirror object that contains the input text
68- var pyInputAceEditor ; // Ace editor object that contains the input text
67+ var pyInputCodeMirror ; // CodeMirror object that contains the input code
68+ var pyInputAceEditor ; // Ace editor object that contains the input code
6969
7070
7171// BEGIN - shared session stuff
@@ -523,12 +523,12 @@ function supports_html5_storage() {
523523 }
524524}
525525
526- // abstraction so that we can swap out CodeMirror or Ace
526+ // abstraction so that we can use either CodeMirror or Ace as our code editor
527527function pyInputGetValue ( ) {
528528 return pyInputCodeMirror . getValue ( ) ;
529529}
530530
531- function pyInputSetValue ( val ) {
531+ function pyInputSetValue ( dat ) {
532532 pyInputCodeMirror . setValue ( dat . rtrim ( ) /* kill trailing spaces */ ) ;
533533 $ ( '#urlOutput,#embedCodeOutput' ) . val ( '' ) ;
534534
You can’t perform that action at this time.
0 commit comments