Skip to content

Commit 271deaf

Browse files
committed
gitting closer to deploy!
1 parent 6ee46b2 commit 271deaf

3 files changed

Lines changed: 6 additions & 12 deletions

File tree

‎v3/css/opt-frontend.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ button.surveyBtn {
8282
}
8383

8484
#footer {
85-
color: #888888;
85+
color: #999;
8686
font-size: 9pt;
8787
border-top: 1px solid #bbbbbb;
8888
padding-top: 5px;

‎v3/js/opt-live.js‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4545
- also add in general directions about live mode and a switchback option
4646
to regular mode
4747
48-
- add footer
49-
50-
- support pasting in code via URL, which will be important for
51-
transporting the user from regular OPT to live mode
52-
- add "Generate permanent link" button, but no need for iframe embed btn
53-
5448
- if these Ace enhancements look good, then I can also use them for
5549
Codeopticon as well!
5650
@@ -492,8 +486,9 @@ function optliveExecuteCodeAndCreateViz(codeToExec,
492486
}
493487

494488
function executeCode(forceStartingInstr, forceRawInputLst) {
495-
var cod = pyInputGetValue();
489+
$('#urlOutput').val(''); // clear to avoid stale values
496490

491+
var cod = pyInputGetValue();
497492
// don't run empty code
498493
if ($.trim(cod) === '') {
499494
return;

‎v3/live.html‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,10 @@
118118
href="http://www.python.org/doc/3.3.0/">3.3</a> with limited module
119119
imports and no file I/O, and
120120
JavaScript running in Node.js v6.0.0 with limited support for ES6.
121-
</p>
122121

123-
<p>Try the regular
124-
<a href="http://pythontutor.com/">Python Tutor</a>
125-
tool for additional language support.</p>
122+
Try the regular
123+
<a href="http://pythontutor.com/visualize.html">Python Tutor</a>
124+
visualizer for additional language support.</p>
126125

127126
<p style="margin-top: 30px;">Privacy Policy: By using Online Python
128127
Tutor, your visualized code, options, user interactions, text chats, and

0 commit comments

Comments
 (0)