diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-10-09 19:09:11 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-10-09 19:09:11 +0300 |
commit | 4807c6e75686ea722a2424e7a1dd369225c1be3b (patch) | |
tree | 8403143f86634bfac92413b845c42e89e6fe5401 | |
parent | a84d07e31298fc1f8825b0047629634920667707 (diff) | |
download | tracifyjs-4807c6e75686ea722a2424e7a1dd369225c1be3b.tar.gz tracifyjs-4807c6e75686ea722a2424e7a1dd369225c1be3b.zip |
update on @cc_on
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -245,11 +245,11 @@ can pass additional arguments that control the code output: ### Keeping copyright notices or other comments You can pass `--comments` to retain certain comments in the output. By -default it will keep JSDoc-style comments that contain "@preserve" or -"@license". You can pass `--comments all` to keep all the comments, or a -valid JavaScript regexp to keep only comments that match this regexp. For -example `--comments '/foo|bar/'` will keep only comments that contain "foo" -or "bar". +default it will keep JSDoc-style comments that contain "@preserve", +"@license" or "@cc_on" (conditional compilation for IE). You can pass +`--comments all` to keep all the comments, or a valid JavaScript regexp to +keep only comments that match this regexp. For example `--comments +'/foo|bar/'` will keep only comments that contain "foo" or "bar". Note, however, that there might be situations where comments are lost. For example: |