@@ -23,18 +23,18 @@ to generate minified packages from php.js functions.
23
23
24
24
Understandibly this has [ raised] ( https://github.com/kvz/phpjs/issues/75 )
25
25
[ questions] ( http://phpjs.org/about/index.html#comment-861825612 ) .
26
- It still only takes 2 commands to bundle 4 useful functions:
26
+ It is still possible to bundle 4 useful functions:
27
27
28
28
``` bash
29
- # - Note that this combined 6 useful php.js functions into a file called: myphp.js
29
+ # - Note that this combined 4 php.js functions into a file called: myphp.js
30
30
# and minified version: myphp.min.js in the current directory.
31
- # - Note that this creates a Javascript include that throws all functions in the
32
- # global scope. It's better to put them in a dedicated phpjs object.
33
- PHPJS_VERSION= " master "
34
- curl -sk https://raw.github.com/kvz/phpjs/ ${PHPJS_VERSION} /functions/ {datetime/date\
35
- ,datetime/strtotime\
36
- ,strings/md5\
37
- ,strings/vsprintf\
31
+ # - Note that this throws all functions into the
32
+ # global scope. It would be better to put them in a dedicated phpjs object.
33
+ curl -sk https://raw.github.com/kvz/phpjs/31bf3129f08672f8c1d6d0dcad2368ebc4ac57f2/functions/\
34
+ {datetime/date\
35
+ ,datetime/strtotime\
36
+ ,strings/md5\
37
+ ,strings/vsprintf\
38
38
}.js | tee ./myphp.js && \
39
39
curl -vo ./myphp.min.js \
40
40
-X POST \
@@ -46,7 +46,7 @@ curl -vo ./myphp.min.js \
46
46
http://closure-compiler.appspot.com/compile
47
47
```
48
48
49
- but some people are upset that it has become harder to bundle all of php.js into one big file:
49
+ but some people think php.js should bundle all of it's functions into one big file:
50
50
51
51
> Not providing an all-in-one, downloadable, minified, ready-to-use
52
52
> .js file is going to kill php.js.
@@ -60,7 +60,7 @@ but some people are upset that it has become harder to bundle all of php.js into
60
60
61
61
I'd like to comment on that here. While I appreciate the sentiment, wether the
62
62
project is being killed by these changes depends on how you look at php.js.
63
- To me, it's a resource:
63
+ To me, php.js is a resource:
64
64
65
65
- For PHP developers that want see how it's done in JavaScript
66
66
- That enables fun experiments
@@ -75,7 +75,7 @@ If - on the other hand - you think of php.js as a
75
75
..then yes, * these changes are going to kill php.js* .
76
76
77
77
I have limited time to spend on open source, and I want to spend it on things I enjoy and can believe in.
78
- Not on supporting use-cases that keep people from learning or make the web slower.
78
+ Not on working to support use-cases that keep new developers from learning, or make the web slower.
79
79
I'm sorry if this upsets folks but it really is my free time.
80
80
81
81
Luckily though for people with different views, I released php.js under MIT so
0 commit comments