Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: README.md

Issue 29344540: Issue 3675 - Add some tests for ContentBlockerList (Closed)
Patch Set: Removed #4072 fix Created May 25, 2016, 6:31 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | package.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # abp2blocklist 1 # abp2blocklist
2 2
3 This is a script to convert [Adblock Plus filter lists](https://adblockplus.org/ filters) 3 This is a script to convert [Adblock Plus filter lists](https://adblockplus.org/ filters)
4 to [WebKit block lists](https://www.webkit.org/blog/3476/content-blockers-first- look/). 4 to [WebKit block lists](https://www.webkit.org/blog/3476/content-blockers-first- look/).
5 5
6 Note that WebKit content blockers are fairly limited. Hence, not all filters 6 Note that WebKit content blockers are fairly limited. Hence, not all filters
7 can be converted (in a compatible way), and some differences compared to Adblock 7 can be converted (in a compatible way), and some differences compared to Adblock
8 Plus for other browsers are expected. 8 Plus for other browsers are expected.
9 9
10 This script is used to convert the filter lists for 10 This script is used to convert the filter lists for
(...skipping 19 matching lines...) Expand all
30 ``` 30 ```
31 You will then need to remove any references to the `utils` module from the 31 You will then need to remove any references to the `utils` module from the
32 generated file by hand. 32 generated file by hand.
33 33
34 34
35 ## Usage 35 ## Usage
36 36
37 ``` 37 ```
38 node abp2blocklist.js < easylist.txt > easylist.json 38 node abp2blocklist.js < easylist.txt > easylist.json
39 ``` 39 ```
40
41 ## Tests
42
43 Unit tests live in the `tests/` directory. To run the unit tests ensure you have
44 already installed the required packages (see above) and then type this command:
45
46 ```
47 npm test
48 ```
OLDNEW
« no previous file with comments | « no previous file | package.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld