Skip to content

Commit df720fa

Browse files
committed
Code Style
1 parent 9eb87f5 commit df720fa

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

samples/sample.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@
55
*/
66
require '../src/tureki/phpcc.php';
77

8-
/*
8+
/**
99
* java_file
1010
*
1111
* Linux "/usr/lib/jvm/jre-1.6.0/bin/java"
1212
* Window7 "C:\Program Files (x86)\Java\jre6\bin\java"
1313
*/
1414

15-
/*
15+
/**
1616
* jar_file
1717
*
1818
* You can download source from http://code.google.com/p/closure-compiler/wiki/BinaryDownloads
1919
*/
2020

21-
/*
21+
/**
2222
* output_path
2323
*
2424
* Output path of compress file when success
2525
*/
2626

27-
/*
27+
/**
2828
* phpcc config
2929
* @var phpcc
3030
*/
@@ -35,12 +35,12 @@
3535
'charset' => 'utf-8',
3636
));
3737

38-
/*
38+
/**
3939
* Test your phpcc setting.
4040
*/
4141
print_r($phpcc->help());
4242

43-
/*
43+
/**
4444
* Add jQuery file and combined compression
4545
*/
4646
// $ary_result = $phpcc
@@ -49,7 +49,7 @@
4949
// ->exec("all.js");
5050
// print_r($ary_result);
5151

52-
/*
52+
/**
5353
* Add jQuery file and individual compression
5454
*/
5555
// $phpcc->reset();
@@ -60,7 +60,7 @@
6060
// ->exec();
6161
// print_r($ary_result);
6262

63-
/*
63+
/**
6464
* Set Directory path find .js file and combined compression to one file.
6565
*/
6666
// $phpcc->reset();
@@ -69,7 +69,7 @@
6969
// ->exec("all.js");
7070
// print_r($ary_result);
7171

72-
/*
72+
/**
7373
* Set Directory path . Auto find js file and individual compression
7474
*/
7575
// $phpcc->reset();
@@ -79,7 +79,7 @@
7979
// ->exec();
8080
// print_r($ary_result);
8181

82-
/*
82+
/**
8383
* Mixed
8484
*/
8585
// $phpcc->reset();
@@ -89,7 +89,7 @@
8989
// ->exec();
9090
// print_r($ary_result);
9191

92-
/*
92+
/**
9393
* You can use param() add Closure Compiler command param.
9494
*/
9595
// $phpcc->reset();

src/tureki/PhpCc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
* @copyright tureki.org
1010
* @author tureki
1111
*
12-
**/
12+
*/
13+
1314
class PhpCc
1415
{
1516

@@ -82,7 +83,6 @@ public function exec($filename = 'all.min.js')
8283
$ary_result[] = $this->_getArgv($str_file, $filename);
8384
}
8485

85-
8686
return $ary_result;
8787
} else {
8888
if (count($this->js_files_dir)>0) {

0 commit comments

Comments
 (0)