Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Sync parameter name of action() function with minify, $d -> $command
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed May 9, 2011
1 parent baaef39 commit d11f38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public function __construct($input) {
action treats a string as a single character. Wow!
action recognizes a regular expression if it is preceded by ( or , or =.
*/
protected function action($d) {
switch($d) {
protected function action($command) {
switch($command) {
case self::ACTION_KEEP_A:
$this->output .= $this->a;

Expand Down

0 comments on commit d11f38c

Please sign in to comment.