From: Trevor Parscal Date: Sat, 14 May 2011 13:21:58 +0000 (+0000) Subject: Fixed language in comments and error messages - see comments in r88053. X-Git-Tag: 1.31.0-rc.0~30204 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=38b2aa65c4834d91a08c48720d22533a78626a28;p=lhc%2Fweb%2Fwiklou.git Fixed language in comments and error messages - see comments in r88053. --- diff --git a/resources/mediawiki/mediawiki.js b/resources/mediawiki/mediawiki.js index f4f93f327d..ab4add5f40 100644 --- a/resources/mediawiki/mediawiki.js +++ b/resources/mediawiki/mediawiki.js @@ -1124,7 +1124,6 @@ window.mediaWiki = new ( function( $ ) { * attribute when adding a script element to the body * @param style Object: Object of CSS strings keyed by media-type or Object of lists of URLs * keyed by media-type - * as the href attribute when adding a link element to the head * @param msgs Object: List of key/value pairs to be passed through mw.messages.set */ this.implement = function( module, script, style, msgs ) { @@ -1136,7 +1135,7 @@ window.mediaWiki = new ( function( $ ) { throw new Error( 'script must be a function or an array, not a ' + typeof script ); } if ( !$.isPlainObject( style ) ) { - throw new Error( 'style must be a object or a string, not a ' + typeof style ); + throw new Error( 'style must be an object or a string, not a ' + typeof style ); } if ( !$.isPlainObject( msgs ) ) { throw new Error( 'msgs must be an object, not a ' + typeof msgs );