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