Skip to content

Commit dc974e6

Browse files
author
Philip Guo
committed
added decorator test
1 parent 991ac15 commit dc974e6

4 files changed

Lines changed: 1912 additions & 1 deletion

File tree

‎PyTutorGAE/js/opt-frontend.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,12 @@ $(document).ready(function() {
302302
return false;
303303
});
304304

305+
$("#decoratorsLink").click(function() {
306+
$.get("example-code/decorators.txt", setCodeMirrorVal);
307+
return false;
308+
});
309+
310+
305311

306312
$('#closure1Link').click(function() {
307313
$.get("example-code/closures/closure1.txt", setCodeMirrorVal);

‎PyTutorGAE/tutor.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@
8989
<a id="pwSumListLink" href="#">sumList</a> |
9090
<a id="towersOfHanoiLink" href="#">towers of hanoi</a> |
9191
<a id="pwTryFinallyLink" href="#">exceptions</a> |
92-
<a id="sumCubesLink" href="#">sum cubes</a>
92+
<a id="sumCubesLink" href="#">sum cubes</a> |
93+
<a id="decoratorsLink" href="#">decorators</a>
9394

9495
</p>
9596

0 commit comments

Comments
 (0)