-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathspec.xml
103 lines (95 loc) · 3.18 KB
/
spec.xml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0"?>
<!-- pipe is an OR - to denote possible values -->
<entry name="functionName" namespace="ui" type="method|plugin|property|widget" return="jQuery|Map|jqXHR|String|Array">
<created>1.0</created>
<!-- indication of how far back documentation goes -->
<signature added="1.5">
<!-- added != version - a 1.3 added signature will still be updated if viewing the 1.5 version -->
<argument name="" type="String|Boolean|DOM|Function|Array">
<desc/>
</argument>
<!-- pulls from options node -->
<argument name="options" type="Options">
<desc>A string containing the URL to which the request is sent.</desc>
</argument>
</signature>
<options>
<option default="value||auto" default-note="" name="">
<!-- notice multiple types are made into separate child-nodes instead of an attr -->
<type name="Boolean" />
<type name="jQuery" />
<type name="DOM" />
<desc/>
</option>
<!-- auto means it's a calculated option based on other options - you can note what in 'default-note'
array="true" means it can accept an array of these as well.
The optinon below, while working in the context of argument.@type == Map
also work as standalone argument types (for the sake of documenting once)-->
<option default="value|auto" default-note="" name="" array="true" type="Function">
<desc/>
<parameter name="">
<type name="Boolean" />
<type name="jQuery" />
<type name="DOM" />
<desc/>
</parameter>
<parameter name="" null="true" type="String">
<!-- might be sent null values -->
<desc/>
<value name=""/>
<value name=""/>
<value name="abort"/>
<value name="parsererror"/>
</parameter>
<parameter name="" null="true">
<type name="Object" />
<type name="Array" />
<desc/>
<property>
<type name="String" />
<type name="DOM" />
<desc/>
</property>
<!-- type Object means nested properties -->
<property type="Object">
<desc/>
<property>
<desc/>
</property>
</property>
<property type="Function">
<desc/>
<argument name="" type="" return="">
<desc/>
</argument>
</property>
</parameter>
<!-- see Function type for argument.option.@type == function -->
<parameter name="" type="Function">
</parameter>
</option>
<option default="value|auto" default-note="" name="" type="Function">
<desc/>
<argument name="" return="">
<type name="Boolean" />
<type name="String" />
<type name="Object" />
<type name="Array" />
<type name="DOM" />
<type name="jQuery" />
<desc/>
</argument>
</option>
</options>
<events>
<!-- same implementation as Function (arguments, return) -->
<event name="">
<desc/>
<argument name="event" type="Event">
<desc/>
<!-- any custom properties on the event -->
<property name="" />
</argument>
</event>
</events>
</entry>