Fixed problem with pattern in wrapper function that affected Opera when MathJax is minified (discovered by Fred's tests)
This commit is contained in:
parent
e96dd07e37
commit
9ff6d9a321
File diff suppressed because one or more lines are too long
|
@ -148,7 +148,7 @@ MathJax.fileversion = "2.0";
|
|||
catch (err) {delete this.SUPER; throw err}
|
||||
delete this.SUPER;
|
||||
return result;
|
||||
}.toString().replace(/^\s*function \(\)\s*\{\s*/i,"").replace(/\s*\}\s*$/i,""),
|
||||
}.toString().replace(/^\s*function\s*\(\)\s*\{\s*/i,"").replace(/\s*\}\s*$/i,""),
|
||||
|
||||
toString: function () {
|
||||
return this.original.toString.apply(this.original,arguments);
|
||||
|
|
Loading…
Reference in New Issue
Block a user