http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70236

Revision: 70236
Author:   dale
Date:     2010-07-31 20:20:25 +0000 (Sat, 31 Jul 2010)

Log Message:
-----------
fixed removeLogStatements function name spelling 

Modified Paths:
--------------
    branches/MwEmbedStandAlone/ResourceLoader.php

Modified: branches/MwEmbedStandAlone/ResourceLoader.php
===================================================================
--- branches/MwEmbedStandAlone/ResourceLoader.php       2010-07-31 20:20:02 UTC 
(rev 70235)
+++ branches/MwEmbedStandAlone/ResourceLoader.php       2010-07-31 20:20:25 UTC 
(rev 70236)
@@ -812,7 +812,7 @@
                global $wgEnableScriptLocalization;
                // Strip out mw.log debug lines (if not in debug mode)
                if( !$this->debug ){
-                       $scriptText = $this->removeLogStatments( $scriptText );
+                       $scriptText = $this->removeLogStatements( $scriptText );
                }
 
                // Do language swap by index:
@@ -859,7 +859,7 @@
         * Remove all occurances of mw.log( 'some js string or expresion' );
         * @param {string} $jsString
         */
-       static function removeLogStatments( $jsString ){
+       static function removeLogStatements( $jsString ){
                $outputJs = '';
                for ( $i = 0; $i < strlen( $jsString ); $i++ ) {
                        // find next occurance of



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to