From 44a1e99f2a40b84c8a00fabb4ec7fb3ba7a680da Mon Sep 17 00:00:00 2001 From: Michael Pacer Date: Wed, 1 Mar 2017 11:33:39 -0800 Subject: [PATCH] Remove misleading local variable declaration --- notebook/static/notebook/js/mathjaxutils.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/notebook/static/notebook/js/mathjaxutils.js b/notebook/static/notebook/js/mathjaxutils.js index b68fa8522..bd82eea73 100644 --- a/notebook/static/notebook/js/mathjaxutils.js +++ b/notebook/static/notebook/js/mathjaxutils.js @@ -55,8 +55,6 @@ define([ // Other minor modifications are also due to StackExchange and are used with // permission. - var inline = "$"; // the inline math delimiter - // MATHSPLIT contains the pattern for math delimiters and special symbols // needed for searching for math in the text input. var MATHSPLIT = /(\$\$?|\\(?:begin|end)\{[a-z]*\*?\}|\\[{}$]|[{}]|(?:\n\s*)+|@@\d+@@|\\\\(?:\(|\)|\[|\]))/i; @@ -173,7 +171,7 @@ define([ // Look for math start delimiters and when // found, set up the end delimiter. // - if (block === inline || block === "$$") { + if (block === "$" || block === "$$") { start = i; end = block; braces = 0;