From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- includes/libs/jsminplus.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/libs/jsminplus.php') diff --git a/includes/libs/jsminplus.php b/includes/libs/jsminplus.php index 7c4e32bd..f250217f 100644 --- a/includes/libs/jsminplus.php +++ b/includes/libs/jsminplus.php @@ -256,7 +256,7 @@ class JSMinPlus } elseif ($type == KEYWORD_VAR && $type == $lastType) { - // mutiple var-statements can go into one + // multiple var-statements can go into one $t = ',' . substr($t, 4); } else @@ -298,7 +298,7 @@ class JSMinPlus if ($elsePart) { - // be carefull and always make a block out of the thenPart; could be more optimized but is a lot of trouble + // be careful and always make a block out of the thenPart; could be more optimized but is a lot of trouble if ($thenPart != ';' && $thenPart[0] != '{') $thenPart = '{' . $thenPart . '}'; @@ -521,7 +521,7 @@ class JSMinPlus break; case TOKEN_STRING: - //combine concatted strings with same quotestyle + //combine concatenated strings with same quote style if ($n->type == OP_PLUS && substr($left, -1) == $right[0]) { $s = substr($left, 0, -1) . substr($right, 1); -- cgit v1.2.2