aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/preamble.js')
-rw-r--r--src/preamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 126ef6fa..c6fcafa7 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -576,7 +576,7 @@ function intArrayToString(array) {
{{{ reSign }}}
// Use console read if available, otherwise we are in a browser, use an XHR
-if (this.read == undefined) {
+if (this.read === undefined) {
var read = function(url) {
// TODO: use mozResponseArrayBuffer/responseStream/etc. if available
var xhr = new XMLHttpRequest();