Skip to content

Commit 45955b0

Browse files
committed
updated to match new varnames
1 parent 97a551b commit 45955b0

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎v3/js/iframe-embed.js‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Online Python Tutor
44
https://github.com/pgbovine/OnlinePythonTutor/
55
6-
Copyright (C) 2010-2013 Philip J. Guo (philip@pgbovine.net)
6+
Copyright (C) 2010-2014 Philip J. Guo (philip@pgbovine.net)
77
88
Permission is hereby granted, free of charge, to any person obtaining a
99
copy of this software and associated documentation files (the
@@ -41,13 +41,13 @@ $(document).ready(function() {
4141
var queryStrOptions = getQueryStringOptions();
4242

4343
var preseededCode = queryStrOptions.preseededCode;
44-
var pyState = queryStrOptions.pyState;
44+
var pyState = queryStrOptions.py;
4545
var verticalStackBool = (queryStrOptions.verticalStack == 'true');
4646
var heapPrimitivesBool = (queryStrOptions.heapPrimitives == 'true');
4747
var drawParentPointerBool = (queryStrOptions.drawParentPointers == 'true');
48-
var textRefsBool = (queryStrOptions.textRefs == 'true');
48+
var textRefsBool = (queryStrOptions.textReferences == 'true');
4949
var showOnlyOutputsBool = (queryStrOptions.showOnlyOutputs == 'true');
50-
var cumModeBool = (queryStrOptions.cumulativeState == 'true');
50+
var cumModeBool = (queryStrOptions.cumulative == 'true');
5151

5252
var codeDivWidth = undefined;
5353
var cdw = $.bbq.getState('codeDivWidth');
@@ -169,4 +169,3 @@ $(document).ready(function() {
169169

170170
executeCodeFromScratch(); // finally, execute code and display visualization
171171
});
172-

0 commit comments

Comments
 (0)