Skip to content

Commit bde444f

Browse files
author
Philip Guo
committed
moar moar!
1 parent 2b8f9c2 commit bde444f

File tree

3 files changed

+204
-244
lines changed

3 files changed

+204
-244
lines changed

PyTutorGAE/js/edu-python-tutor.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2929

3030
// Pre-reqs: edu-python.js and jquery.ba-bbq.min.js should be imported BEFORE this file
3131

32+
var appMode = 'edit'; // 'edit', 'visualize', or 'grade' (only for question.html)
33+
34+
3235

3336
function enterEditMode() {
3437
$.bbq.pushState({ mode: 'edit' }, 2 /* completely override other hash strings to keep URL clean */);
@@ -43,7 +46,6 @@ function setCodeMirrorVal(dat) {
4346

4447

4548
$(document).ready(function() {
46-
eduPythonCommonInit(); // must call this first!
4749

4850
pyInputCodeMirror = CodeMirror(document.getElementById('codeInputPane'), {
4951
mode: 'python',
@@ -161,10 +163,6 @@ $(document).ready(function() {
161163
});
162164

163165

164-
$("#editBtn").click(function() {
165-
enterEditMode();
166-
});
167-
168166

169167
// canned examples
170168

0 commit comments

Comments
 (0)