aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTom MacWright <tmcw@users.noreply.github.com>2017-10-23 13:53:56 -0700
committeralexlamsl <alexlamsl>2017-10-24 04:59:12 +0800
commit1968203d83ea6ba9dd34b36c0d6f3e4b1c5db340 (patch)
tree704b2f02ce171654897edeff55d4c759b2966b3c /README.md
parent86ea38a25954ba4cda017fbfee5e0ef537b24bf1 (diff)
downloadtracifyjs-1968203d83ea6ba9dd34b36c0d6f3e4b1c5db340.tar.gz
tracifyjs-1968203d83ea6ba9dd34b36c0d6f3e4b1c5db340.zip
docs: Fix spelling and style (#2395)
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index f31486e8..1c4d6114 100644
--- a/README.md
+++ b/README.md
@@ -221,7 +221,7 @@ to prevent the `require`, `exports` and `$` names from being changed.
is a separate step, different from variable name mangling. Pass
`--mangle-props` to enable it. It will mangle all properties in the
input code with the exception of built in DOM properties and properties
-in core javascript classes. For example:
+in core JavaScript classes. For example:
```javascript
// example.js
@@ -236,7 +236,7 @@ x.bar_ = 2;
x["baz_"] = 3;
console.log(x.calc());
```
-Mangle all properties (except for javascript `builtins`):
+Mangle all properties (except for JavaScript `builtins`):
```bash
$ uglifyjs example.js -c -m --mangle-props
```
@@ -1060,7 +1060,7 @@ in total it's a bit more than just using UglifyJS's own parser.
### Uglify Fast Minify Mode
It's not well known, but whitespace removal and symbol mangling accounts
-for 95% of the size reduction in minified code for most javascript - not
+for 95% of the size reduction in minified code for most JavaScript - not
elaborate code transforms. One can simply disable `compress` to speed up
Uglify builds by 3 to 4 times. In this fast `mangle`-only mode Uglify has
comparable minify speeds and gzip sizes to