Fix problem with SimpleSUPER reported by Fred (due to a bad copy-paste edit really early on)
This commit is contained in:
parent
725f655080
commit
d57abf54d8
File diff suppressed because one or more lines are too long
|
@ -124,10 +124,10 @@ MathJax.fileversion = "1.1.8";
|
|||
define: function (src) {
|
||||
var dst = {};
|
||||
if (src != null) {
|
||||
for (var id in src) {if (src.hasOwnProperty(id)) {this.protoFunction(id,src[id])}}
|
||||
for (var id in src) {if (src.hasOwnProperty(id)) {dst[id] = this.wrap(id,src[id])}}
|
||||
// MSIE doesn't list toString even if it is not native so handle it separately
|
||||
if (src.toString !== this.prototype.toString && src.toString !== {}.toString)
|
||||
{this.protoFunction('toString',src.toString)}
|
||||
{dst.toString = this.wrap('toString',src.toString)}
|
||||
}
|
||||
return dst;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user