Fix problem with SimpleSUPER reported by Fred (due to a bad copy-paste edit really early on)

This commit is contained in:
Davide P. Cervone 2011-07-27 09:07:40 -04:00
parent 725f655080
commit d57abf54d8
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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;
},