@@ -61,7 +61,7 @@ var domain = "http://pythontutor.com/"; // for deployment
6161var isExecutingCode = false ; // nasty, nasty global
6262
6363
64- var appMode = 'edit' ; // 'edit', 'display', 'display_no_frills '. also support
64+ var appMode = 'edit' ; // 'edit' or 'display '. also support
6565 // 'visualize' for backward compatibility (same as 'display')
6666
6767var preseededCurInstr = null ; // if you passed in a 'curInstr=<number>' in the URL, then set this var
@@ -317,13 +317,7 @@ function updateAppDisplay(newAppMode) {
317317 $ . bbq . pushState ( { mode : 'display' } , 2 /* completely override other hash strings to keep URL clean */ ) ;
318318 }
319319 else {
320- assert ( appMode == 'display_no_frills' ) ;
321- assert ( myVisualizer ) ;
322-
323- $ ( "#pyInputPane" ) . hide ( ) ;
324- $ ( "#pyOutputPane,#surveyHeader" ) . show ( ) ;
325- $ ( "#embedLinkDiv" ) . show ( ) ;
326- $ . bbq . pushState ( { mode : 'display_no_frills' } , 2 /* completely override other hash strings to keep URL clean */ ) ;
320+ assert ( false ) ;
327321 }
328322
329323 $ ( '#urlOutput,#embedCodeOutput' ) . val ( '' ) ; // clear to avoid stale values
@@ -369,11 +363,6 @@ function enterEditMode() {
369363 updateAppDisplay ( 'edit' ) ;
370364}
371365
372- function enterDisplayNoFrillsMode ( ) {
373- console . log ( 'enterDisplayNoFrillsMode' ) ;
374- updateAppDisplay ( 'display_no_frills' ) ;
375- }
376-
377366
378367function executePythonCode ( pythonSourceCode ,
379368 backendScript , backendOptionsObj ,
0 commit comments