| 1 | <?php |
||
| 13 | class script_without_async implements test_interface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | * |
||
| 18 | * Synchronously loaded scripts test. |
||
| 19 | * This test looks for scripts that aren't using `async` attribute |
||
| 20 | * to load itself asynchronously. Such scripts slow down page rendering |
||
| 21 | * time and should be made asynchronous. |
||
| 22 | */ |
||
| 23 | 13 | public function run($ad_code) |
|
| 41 | } |
||
| 42 |