| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 Adblock Plus for Chrome, Opera, Microsoft Edge and Firefox | 1 Adblock Plus for Chrome, Opera, Microsoft Edge and Firefox |
| 2 ========================================================== | 2 ========================================================== |
| 3 | 3 |
| 4 This repository contains the platform-specific Adblock Plus source code for | 4 This repository contains the platform-specific Adblock Plus source code for |
| 5 Chrome, Opera, Microsoft Edge and Firefox. It can be used to build | 5 Chrome, Opera, Microsoft Edge and Firefox. It can be used to build |
| 6 Adblock Plus for these platforms, generic Adblock Plus code will be extracted | 6 Adblock Plus for these platforms, generic Adblock Plus code will be extracted |
| 7 from other repositories automatically (see _dependencies_ file). | 7 from other repositories automatically (see _dependencies_ file). |
| 8 | 8 |
| 9 Note that the Firefox extension built from this repository is the new | 9 Note that the Firefox extension built from this repository is the new |
| 10 [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions). | 10 [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions). |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 95 You will need to setup first. This will install our configuration | 95 You will need to setup first. This will install our configuration |
| 96 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf ig-eyeo) | 96 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf ig-eyeo) |
| 97 and everything needed after you run: | 97 and everything needed after you run: |
| 98 | 98 |
| 99 npm install | 99 npm install |
| 100 | 100 |
| 101 Then you can run to lint the code: | 101 Then you can run to lint the code: |
| 102 | 102 |
| 103 npm run lint | 103 npm run lint |
| 104 | 104 |
| 105 Qunit testing | |
| 106 ------------- | |
| 107 | |
| 108 You can run qunit tests in a headless Firefox instance. First the dependencies | |
| 109 by running | |
|
hub
2018/08/21 13:23:21
I think this should be merged with the paragraph `
tlucas
2018/08/22 07:01:30
Good point - done.
| |
| 110 | |
| 111 npm install | |
| 112 | |
| 113 Start the qunit tests by running | |
| 114 | |
| 115 npm test -- gecko | |
| OLD | NEW |