Use extra parentheses to avoid warning message in debug mode. Resolves at least one line from issue #1173.
This commit is contained in:
parent
15c9159cb2
commit
2f37a00c6f
|
@ -1202,7 +1202,7 @@ MathJax.Localization = {
|
|||
function (string,regex) {
|
||||
var result = [], match, last = 0;
|
||||
regex.lastIndex = 0;
|
||||
while (match = regex.exec(string)) {
|
||||
while ((match = regex.exec(string))) {
|
||||
result.push(string.substr(last,match.index-last));
|
||||
result.push.apply(result,match.slice(1));
|
||||
last = match.index + match[0].length;
|
||||
|
|
Loading…
Reference in New Issue
Block a user