| OLD | NEW |
| 1 Adblock Plus for Chrome, Opera and Edge | 1 Adblock Plus for Chrome, Opera and Edge |
| 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 and Edge. It can be used to build Adblock Plus for these | 5 Chrome, Opera and Edge. It can be used to build Adblock Plus for these |
| 6 platforms, generic Adblock Plus code will be extracted from other repositories | 6 platforms, generic Adblock Plus code will be extracted from other repositories |
| 7 automatically (see _dependencies_ file). | 7 automatically (see _dependencies_ file). |
| 8 | 8 |
| 9 Building | 9 Building |
| 10 --------- | 10 --------- |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 Running the unit tests | 51 Running the unit tests |
| 52 ---------------------- | 52 ---------------------- |
| 53 | 53 |
| 54 To verify your changes you can use the unit test suite located in the _qunit_ | 54 To verify your changes you can use the unit test suite located in the _qunit_ |
| 55 directory of the repository. In order to run the unit tests go to the | 55 directory of the repository. In order to run the unit tests go to the |
| 56 extension's Options page, open the JavaScript Console and type in: | 56 extension's Options page, open the JavaScript Console and type in: |
| 57 | 57 |
| 58 location.href = "qunit/index.html"; | 58 location.href = "qunit/index.html"; |
| 59 | 59 |
| 60 The unit tests will run automatically once the page loads. | 60 The unit tests will run automatically once the page loads. |
| 61 |
| 62 Linting |
| 63 ------- |
| 64 |
| 65 You can lint the code using [ESLint](http://eslint.org). |
| 66 |
| 67 eslint *.js lib/ qunit/ ext/ chrome/ |
| 68 |
| 69 You will need to set up ESLint and our configuration first, see |
| 70 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf
ig-eyeo) |
| 71 for more information. |
| OLD | NEW |