Remove @cc_on from the README
No longer the case by default
This commit is contained in:
parent
5344b7dab8
commit
c0af3db25c
10
README.md
10
README.md
|
|
@ -347,11 +347,11 @@ can pass additional arguments that control the code output:
|
||||||
### Keeping copyright notices or other comments
|
### Keeping copyright notices or other comments
|
||||||
|
|
||||||
You can pass `--comments` to retain certain comments in the output. By
|
You can pass `--comments` to retain certain comments in the output. By
|
||||||
default it will keep JSDoc-style comments that contain "@preserve",
|
default it will keep JSDoc-style comments that contain "@preserve" or
|
||||||
"@license" or "@cc_on" (conditional compilation for IE). You can pass
|
"@license". You can pass `--comments all` to keep all the comments, or
|
||||||
`--comments all` to keep all the comments, or a valid JavaScript regexp to
|
a valid JavaScript regexp to keep only comments that match this regexp.
|
||||||
keep only comments that match this regexp. For example `--comments
|
For example `--comments '/foo|bar/'` will keep only comments that
|
||||||
'/foo|bar/'` will keep only comments that contain "foo" or "bar".
|
contain "foo" or "bar".
|
||||||
|
|
||||||
Note, however, that there might be situations where comments are lost. For
|
Note, however, that there might be situations where comments are lost. For
|
||||||
example:
|
example:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user