14 lines
312 B
PHP
14 lines
312 B
PHP
<?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;
|
|
}
|
|
}
|
|
|
|
?>
|