-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjquery-manifest.php
47 lines (41 loc) · 1.67 KB
/
jquery-manifest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/*
* To update on jquery:
* - commit/push all updates
* - increment version (ex: 2.0.5)
* - git tag 2.0.5
* - git push origin --tags
*/
$array = array(
'name' => 'domajax',
'version' => '2.1.3',
'title' => 'domajax.fuz.org - use Ajax without JavaScript',
'author' => array(
'name' => 'Alain Tiemblo',
'email' => '[email protected]',
'url' => 'http://www.ninsuo.com',
),
'licenses' => array(
array(
'type' => 'MIT',
'url' => 'http://opensource.org/licenses/MIT',
),
),
'dependencies' => array(
'jquery' => '~1.7.2',
'jquery-ui' => '~1.8.17',
),
'description' => "Domajax is a free jQuery plugin that give you tools to add ajax calls within your application, without a piece of javascript. It uses HTML5's data- attribute, and jQuery's .on() method to handle your ajax interactions. ",
'keywords' => explode(', ', 'ajax, jquery, plugin, dom, html, events'),
'homepage' => 'http://domajax.fuz.org',
'docs' => 'http://domajax.fuz.org',
'demo' => 'http://domajax.fuz.org/#introduction',
'download' => 'https://github.com/Ninsuo/domajax/tree/2.0/web/js/domajax',
'bugs' => 'https://github.com/Ninsuo/domajax/issues',
);
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Disposition: attachment;filename=domajax.jquery.json");
header("Content-Transfer-Encoding: binary");
echo json_encode($array);