diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /includes/libs/jsminplus.php | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'includes/libs/jsminplus.php')
-rw-r--r-- | includes/libs/jsminplus.php | 6 |
1 files changed, 3 insertions, 3 deletions
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); |