forked from silshack/spring2014
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully working multiple consoles. and it doesn't break existing posts
- Loading branch information
gerbal
committed
Feb 7, 2014
1 parent
edfa504
commit 766368c
Showing
7 changed files
with
88 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
``` | ||
</textarea> | ||
<br /><button>Run</button> | ||
<p>Output: (<a href="#" id="clearoutput">clear</a>)</p> | ||
<pre id="edoutput">Press Run to see the output of the code above</pre> | ||
<canvas id="mycanvas" height="400" width="400" style="border-style: solid; display: none"></canvas> | ||
<br /><button id='btn{{include.id}}'>Run</button> | ||
<p>Output: (<a href="#" id="clearoutput{{include.id}}">clear</a>)</p> | ||
<pre id="edoutput{{include.id}}">Press Run to see the output of the code above</pre> | ||
<canvas id="mycanvas{{include.id}}" height="400" width="400" style="border-style: solid; display: none"></canvas> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
<script type="text/javascript"> | ||
loadCSS("{{ site.baseurl}}/css/codemirror.css"); | ||
loadCSS("{{ site.baseurl}}/css/monokai.css"); | ||
loadJS("{{ site.baseurl}}/js/codemirrorepl.js"); | ||
loadJS("{{ site.baseurl}}/js/python.js"); | ||
loadJS("{{ site.baseurl}}/js/editor.js"); | ||
idmods.push('{{include.id}}') | ||
</script> | ||
<textarea id='code' rows="12" cols="80"> | ||
<textarea id='code{{include.id}}' rows="12" cols="80"> | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.