Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/mj-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var fmt = require('util').format;
var jsdom = require("jsdom").jsdom;
var exec = require('child_process').exec;
var speech = require('speech-rule-engine');
var os = require('os');

var displayMessages = false; // don't log Message.Set() calls
var displayErrors = true; // show error messages on the console
Expand Down Expand Up @@ -81,7 +82,7 @@ var MathJax; // filled in once MathJax is loaded
var serverState = STATE.STOPPED; // nothing loaded yet
var timer; // used to reset MathJax if it runs too long

var tmpfile = "/tmp/mj-single-svg"; // file name prefix to use for temp files
var tmpfile = os.tmpdir() + "/mj-single-svg"; // file name prefix to use for temp files

var document, window, content, html; // the DOM elements

Expand Down
3 changes: 2 additions & 1 deletion lib/mj-single.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ var fmt = require('util').format;
var jsdom = require('jsdom').jsdom;
var exec = require('child_process').exec;
var speech = require('speech-rule-engine');
var os = require('os');

var displayMessages = false; // don't log Message.Set() calls
var displayErrors = true; // show error messages on the console
Expand Down Expand Up @@ -79,7 +80,7 @@ var MathJaxConfig; // configuration for when starting MathJax
var MathJax; // filled in once MathJax is loaded
var serverState = STATE.STOPPED; // nothing loaded yet
var timer; // used to reset MathJax if it runs too long
var tmpfile = "/tmp/mj-single-svg"; // file name prefix to use for temp files
var tmpfile = os.tmpdir() + "/mj-single-svg"; // file name prefix to use for temp files

var document, window, content, html; // the DOM elements

Expand Down