Skip to content

Commit f246245

Browse files
committed
updated office mix files slightly
1 parent 2102daf commit f246245

2 files changed

Lines changed: 7 additions & 23 deletions

File tree

‎v3/js/opt-office-mix.js‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3232
// - jquery.ba-bbq.min.js
3333
// - jquery.ba-dotimeout.min.js // for event debouncing: http://benalman.com/code/projects/jquery-dotimeout/examples/debouncing/
3434
// - opt-frontend-common.js
35-
// - js/togetherjs/togetherjs-min.js
3635
// should all be imported BEFORE this file
3736

3837

@@ -267,10 +266,9 @@ $(document).ready(function() {
267266

268267
// register a generic AJAX error handler
269268
$(document).ajaxError(function(evt, jqxhr, settings, exception) {
270-
setFronendError(["Server error! Your code might be too long to properly visualize (e.g., over 100 lines),",
271-
"so try again with a smaller piece of code.",
272-
"Or report a bug to philip@pgbovine.net by clicking on the 'Generate URL'",
273-
"button at the bottom and including a URL in your email."]);
269+
setFronendError(["Server error! Your code might be taking too much time to run or using too much memory.",
270+
"Report a bug to philip@pgbovine.net by clicking the 'Generate permanent link' button",
271+
"at the bottom of this page and including a URL in your email."]);
274272

275273
doneExecutingCode();
276274
});

‎v3/opt-office-mix.html‎

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<script type="text/javascript" src="js/jquery.jsPlumb-1.3.10-all-min.js "></script> <!-- for rendering SVG connectors
4343
DO NOT UPGRADE ABOVE 1.3.10 OR ELSE BREAKAGE WILL OCCUR -->
4444
<script type="text/javascript" src="js/diff_match_patch.js"></script>
45+
4546
<script type="text/javascript" src="js/jquery-ui-1.8.24.custom.min.js"></script> <!-- for sliders and other UI elements -->
4647
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.24.custom.css" rel="stylesheet" />
4748

@@ -51,9 +52,11 @@
5152
<!-- requirements for opt-frontend.js -->
5253

5354
<!-- codemirror.net online code editor -->
55+
<!--
5456
<script type="text/javascript" src="js/codemirror/codemirror.js"></script>
5557
<link type="text/css" href="css/codemirror.css" rel="stylesheet" />
5658
<script type="text/javascript" src="js/codemirror/python.js"></script>
59+
-->
5760

5861
<!-- Ace online code editor -->
5962
<script type="text/javascript" src="js/ace/src-min-noconflict/ace.js" charset="utf-8"></script>
@@ -95,26 +98,9 @@
9598
<div id="codeInputPane"></div> <!-- populate with a CodeMirror or Ace code editor instance -->
9699
<div id="frontendErrorOutput"></div>
97100

98-
<!--
99-
<p style="margin-top: 10px; line-height: 200%;">
100-
Options:
101-
<select id="cumulativeModeSelector">
102-
<option value="false">hide exited function frames</option>
103-
<option value="true">show exited function frames</option>
104-
</select>
105-
<select id="heapPrimitivesSelector">
106-
<option value="false">inline primitives and nested objects</option>
107-
<option value="true">render all objects on the heap</option>
108-
</select>
109-
<select id="textualMemoryLabelsSelector">
110-
<option value="false">draw references using arrows</option>
111-
<option value="true">use text labels for references</option>
112-
</select>
113-
</p>
114-
-->
115-
116101
</div>
117102

103+
118104
<div id="pyOutputPane">
119105
</div>
120106

0 commit comments

Comments
 (0)