Fixed problem with pattern in wrapper function that affected Opera when MathJax is minified (discovered by Fred's tests)

This commit is contained in:
Davide P. Cervone 2012-02-14 12:02:12 -05:00
parent e96dd07e37
commit 9ff6d9a321
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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);