Add DataTables
This commit is contained in:
parent
6cb526e659
commit
a82e78a7a4
1 changed files with 14 additions and 0 deletions
14
modules/DataTables.php
Normal file
14
modules/DataTables.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue