Index: trunk/parsers/wikidom/lib/es/es.js |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | function extend( dst, src ) { |
24 | 24 | var base = new src(); |
25 | 25 | for ( i in base ) { |
26 | | - if ( typeof base[i] === 'function' && !( i in src.prototype ) ) { |
| 26 | + if ( typeof base[i] === 'function' && !( i in dst.prototype ) ) { |
27 | 27 | dst.prototype[i] = base[i]; |
28 | 28 | } |
29 | 29 | } |