Add DataTables

This commit is contained in:
Steffen Lange 2021-01-18 17:45:48 +01:00
parent 6cb526e659
commit a82e78a7a4

14
modules/DataTables.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class DataTables extends PatchBase {
function __construct() {
parent::__construct('SpryMedia', 'DataTables', 'https://datatables.net/download/');
}
function check() : bool {
if ($this->fetch('https://cdn.datatables.net/'))
return $this->parse('/<p>DataTables ([\d\.]+) is the current stable release of DataTables\.<\/p>/');
return false;
}
}
?>