Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -1124,7 +1124,6 @@ |
1125 | 1125 | * attribute when adding a script element to the body |
1126 | 1126 | * @param style Object: Object of CSS strings keyed by media-type or Object of lists of URLs |
1127 | 1127 | * keyed by media-type |
1128 | | - * as the href attribute when adding a link element to the head |
1129 | 1128 | * @param msgs Object: List of key/value pairs to be passed through mw.messages.set |
1130 | 1129 | */ |
1131 | 1130 | this.implement = function( module, script, style, msgs ) { |
— | — | @@ -1136,7 +1135,7 @@ |
1137 | 1136 | throw new Error( 'script must be a function or an array, not a ' + typeof script ); |
1138 | 1137 | } |
1139 | 1138 | if ( !$.isPlainObject( style ) ) { |
1140 | | - throw new Error( 'style must be a object or a string, not a ' + typeof style ); |
| 1139 | + throw new Error( 'style must be an object or a string, not a ' + typeof style ); |
1141 | 1140 | } |
1142 | 1141 | if ( !$.isPlainObject( msgs ) ) { |
1143 | 1142 | throw new Error( 'msgs must be an object, not a ' + typeof msgs ); |