Skip to content

Commit bfeae2e

Browse files
committed
Merge branch 'master' of github.com:mmmicedcoffee/OnlinePythonTutor
2 parents 4ff9510 + 5d838c6 commit bfeae2e

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎v3/js/opt-frontend.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,10 @@ $(document).ready(function() {
501501
}
502502
else {
503503
// select a canned example on start-up:
504-
$("#aliasExampleLink").trigger('click');
504+
// $("#aliasExampleLink").trigger('click');
505+
506+
// call setCodeMirrorVal() to set custom code
507+
setCodeMirrorVal("print 'Hello World'");
505508
}
506509

507510
// ugh, ugly tristate due to the possibility of each being undefined

‎v3/visualize.html‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<select id="cumulativeModeSelector">
8686
<option value="false">hide frames of exited functions</option>
8787
<option value="true">show frames of exited functions</option>
88-
<option value="holistic">holistic mode (experimental)</option>
88+
<option value="holistic" selected="selected">holistic mode (experimental)</option>
8989
</select>,
9090
<select id="heapPrimitivesSelector">
9191
<option value="false">inline primitives and nested objects</option>
@@ -235,8 +235,8 @@
235235
<a href="http://pythontutor.com/">Online Python Tutor</a> supports <a
236236
href="http://www.python.org/doc/2.7/">Python 2.7</a> and <a
237237
href="http://www.python.org/doc/3.3.0/">Python 3.3</a> with limited module
238-
imports and no file I/O.
239-
The following modules may be imported:
238+
imports and no file I/O.
239+
The following modules may be imported:
240240
bisect,
241241
collections,
242242
datetime,
@@ -273,4 +273,3 @@
273273

274274
</body>
275275
</html>
276-

0 commit comments

Comments
 (0)