Add jQuery

This commit is contained in:
Steffen Lange 2020-04-05 16:20:54 +02:00
parent a92758cbf0
commit 03928bb43e

14
modules/JQuery.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class JQuery extends PatchBase {
function __construct() {
parent::__construct('jQuery Foundation', 'jQuery', 'https://jquery.com/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/jquery/jquery/tags', true))
return $this->parse_json('name');
return false;
}
}
?>