File tree 2 files changed +5
-15
lines changed
2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -8,19 +8,8 @@ node _tests/cli.js -f strtotime
8
8
9
9
# Web
10
10
11
- ``` html
12
- <script src =" http://code.jquery.com/jquery-1.9.1.min.js" ></script >
13
- <script src =" phpjsutil.js" ></script >
14
- <script type =" text/javascript" >
15
- // Get `code`
16
- PhpjsUtil .parse (code, function (err , result ) {
17
- if (err) {
18
- $ (' #content' ).append (' <pre class="alert-warning alert">' + JSON .stringify (err, undefined , 2 ) + ' </pre>' );
19
- }
20
- $ (' #content' ).append (' <pre>' + JSON .stringify (result, undefined , 2 ) + ' </pre>' );
21
-
22
- console .log (result);
23
- });
24
- </script >
11
+ ``` bash
12
+ PORT=8080 node _tests/server.js
25
13
```
26
14
15
+ Point your webbrowser to http://localhost:8080
Original file line number Diff line number Diff line change 9
9
},
10
10
"dependencies" : {
11
11
"cli" : " ~0.4.4-2" ,
12
- "glob" : " ~3.2.1"
12
+ "glob" : " ~3.2.1" ,
13
+ "send" : " ~0.1.0"
13
14
},
14
15
"keywords" : [
15
16
" cli" ,
You can’t perform that action at this time.
0 commit comments