upjs-rails 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/dist/up.js +71 -23
  3. data/dist/up.min.js +1 -1
  4. data/lib/assets/javascripts/up/form.js.coffee +50 -16
  5. data/lib/assets/javascripts/up/modal.js.coffee +22 -8
  6. data/lib/assets/javascripts/up/proxy.js.coffee +1 -1
  7. data/lib/upjs/rails/version.rb +1 -1
  8. metadata +3 -40
  9. data/doc/theme/Gruntfile.js +0 -25
  10. data/doc/theme/README.md +0 -29
  11. data/doc/theme/assets/css/external-small.png +0 -0
  12. data/doc/theme/assets/css/logo.png +0 -0
  13. data/doc/theme/assets/css/main.css +0 -859
  14. data/doc/theme/assets/css/main.less +0 -897
  15. data/doc/theme/assets/favicon.png +0 -0
  16. data/doc/theme/assets/img/bgscreen.png +0 -0
  17. data/doc/theme/assets/img/spinner.gif +0 -0
  18. data/doc/theme/assets/index.html +0 -10
  19. data/doc/theme/assets/js/api-filter.js +0 -52
  20. data/doc/theme/assets/js/api-list.js +0 -251
  21. data/doc/theme/assets/js/api-search.js +0 -98
  22. data/doc/theme/assets/js/apidocs.js +0 -369
  23. data/doc/theme/assets/js/yui-prettify.js +0 -17
  24. data/doc/theme/assets/vendor/prettify/CHANGES.html +0 -130
  25. data/doc/theme/assets/vendor/prettify/COPYING +0 -202
  26. data/doc/theme/assets/vendor/prettify/README.html +0 -203
  27. data/doc/theme/assets/vendor/prettify/prettify-min.css +0 -1
  28. data/doc/theme/assets/vendor/prettify/prettify-min.js +0 -1
  29. data/doc/theme/layouts/main.handlebars +0 -54
  30. data/doc/theme/layouts/xhr.handlebars +0 -7
  31. data/doc/theme/package.json +0 -53
  32. data/doc/theme/partials/attrs.handlebars +0 -141
  33. data/doc/theme/partials/classes.handlebars +0 -210
  34. data/doc/theme/partials/events.handlebars +0 -145
  35. data/doc/theme/partials/exampleurl.handlebars +0 -8
  36. data/doc/theme/partials/files.handlebars +0 -7
  37. data/doc/theme/partials/index.handlebars +0 -18
  38. data/doc/theme/partials/method.handlebars +0 -201
  39. data/doc/theme/partials/module.handlebars +0 -92
  40. data/doc/theme/partials/options.handlebars +0 -23
  41. data/doc/theme/partials/props.handlebars +0 -128
  42. data/doc/theme/partials/sidebar.handlebars +0 -27
  43. data/doc/theme/theme.json +0 -4
  44. data/doc/yuidoc-helpers.js +0 -0
  45. data/doc/yuidoc.json +0 -15
  46. /data/{doc/theme/api/.keep → design/rename.txt} +0 -0
@@ -1,141 +0,0 @@
1
- <div id="attr_{{name}}" class="attr item{{#if access}} {{access}}{{/if}}{{#if deprecated}} deprecated{{/if}}{{#if extended_from}} inherited{{/if}}">
2
- <a name="config_{{name}}"></a> {{! For backwards compatibility }}
3
- <h3 class="name"><code>{{name}}</code></h3>
4
- <span class="type">{{#crossLink type}}{{/crossLink}}</span>
5
-
6
- {{#if deprecated}}
7
- <span class="flag deprecated"{{#if deprecationMessage}} title="{{deprecationMessage}}"{{/if}}>deprecated</span>
8
- {{/if}}
9
-
10
- {{#if access}}
11
- <span class="flag {{access}}">{{access}}</span>
12
- {{/if}}
13
-
14
- {{#if final}}
15
- <span class="flag final">final</span>
16
- {{/if}}
17
-
18
- {{#if static}}
19
- <span class="flag static">static</span>
20
- {{/if}}
21
-
22
- {{#if optional}}
23
- <span class="flag optional">optional</span>
24
- {{/if}}
25
-
26
- {{#if required}}
27
- <span class="flag required">required</span>
28
- {{/if}}
29
-
30
- {{#if readonly}}
31
- <span class="flag readonly">readonly</span>
32
- {{/if}}
33
-
34
- <div class="meta">
35
- {{#if overwritten_from}}
36
- <p>Inherited from
37
- <a href="{{crossLinkRaw overwritten_from/class}}#attr_{{overwritten_from/name}}">
38
- {{overwritten_from/class}}
39
- </a>
40
- {{#if foundAt}}
41
- but overwritten in
42
- {{/if}}
43
- {{else}}
44
- {{#if extended_from}}
45
- <p>Inherited from
46
- <a href="{{crossLinkRaw extended_from}}#attr_{{name}}">{{extended_from}}</a>:
47
- {{else}}
48
- {{#providedBy}}
49
- <p>Provided by the <a href="../modules/{{.}}.html">{{.}}</a> module.</p>
50
- {{/providedBy}}
51
- <p>
52
- {{#if foundAt}}
53
- Defined in
54
- {{/if}}
55
- {{/if}}
56
- {{/if}}
57
- {{#if foundAt}}
58
- <a href="{{foundAt}}">`{{{file}}}:{{{line}}}`</a>
59
- {{/if}}
60
- </p>
61
-
62
- {{#if deprecationMessage}}
63
- <p>Deprecated: {{deprecationMessage}}</p>
64
- {{/if}}
65
-
66
- {{#if since}}
67
- <p>Available since {{since}}</p>
68
- {{/if}}
69
- </div>
70
-
71
- <div class="description">
72
- {{{attrDescription}}}
73
- </div>
74
-
75
- {{#if default}}
76
- <p><strong>Default:</strong> {{default}}</p>
77
- {{/if}}
78
-
79
- {{#if emit}}
80
- <div class="emits box">
81
- <h4>Fires event <code>{{name}}Change</code></h4>
82
-
83
- <p>
84
- Fires when the value for the configuration attribute `{{{name}}}` is
85
- changed. You can listen for the event using the `on` method if you
86
- wish to be notified before the attribute's value has changed, or
87
- using the `after` method if you wish to be notified after the
88
- attribute's value has changed.
89
- </p>
90
-
91
- <div class="params">
92
- <h4>Parameters:</h4>
93
-
94
- <ul class="params-list">
95
- <li class="param">
96
- <code class="param-name">e</code>
97
- <span class="type">{{#crossLink "EventFacade"}}{{/crossLink}}</span>
98
-
99
- <div class="param-description">
100
- An Event Facade object with the following
101
- attribute-specific properties added:
102
- </div>
103
-
104
- <ul class="params-list">
105
- <li class="param">
106
- <code class="param-name">prevVal</code>
107
- <span class="type">Any</span>
108
- <div class="param-description">The value of the attribute, prior to it being set.</div>
109
- </li>
110
- <li class="param">
111
- <code class="param-name">newVal</code>
112
- <span class="type">Any</span>
113
- <div class="param-description">The value the attribute is to be set to.</div>
114
- </li>
115
- <li class="param">
116
- <code class="param-name">attrName</code>
117
- <span class="type">{{#crossLink "String"}}{{/crossLink}}</span>
118
- <div class="param-description">The name of the attribute being set.</div>
119
- </li>
120
- <li class="param">
121
- <code class="param-name">subAttrName</code>
122
- <span class="type">{{#crossLink "String"}}{{/crossLink}}</span>
123
- <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
124
- </li>
125
- </ul>
126
- </li>
127
- </ul>
128
- </div>
129
- </div>
130
- {{/if}}
131
-
132
- {{#example}}
133
- <div class="example">
134
- <h4>Example:</h4>
135
-
136
- <div class="example-content">
137
- {{{.}}}
138
- </div>
139
- </div>
140
- {{/example}}
141
- </div>
@@ -1,210 +0,0 @@
1
- <h1>{{name}}</h1>
2
- <div class="meta">
3
- {{#if uses}}
4
- <div class="uses">
5
- Uses
6
- <ul class="inline commas">
7
- {{#uses}}
8
- <li><a href="{{.}}.html">{{.}}</a></li>
9
- {{/uses}}
10
- </ul>
11
- </div>
12
- {{/if}}
13
-
14
- {{#if extends}}
15
- <div class="extends">
16
- Extends {{#crossLink extends}}{{/crossLink}}
17
- </div>
18
- {{/if}}
19
-
20
- {{#if foundAt}}
21
- <div class="foundat">
22
- Defined in: <a href="{{foundAt}}">`{{{file}}}:{{{line}}}`</a>
23
- </div>
24
- {{/if}}
25
-
26
- {{#if module}}
27
- {{#if submodule}}
28
- Module: {{#crossLinkModule submodule}}{{/crossLinkModule}}<br>
29
- Parent Module: {{#crossLinkModule module}}{{/crossLinkModule}}
30
- {{else}}
31
- Module: {{#crossLinkModule module}}{{/crossLinkModule}}
32
- {{/if}}
33
- {{/if}}
34
-
35
- {{#if since}}
36
- <p>Available since {{since}}</p>
37
- {{/if}}
38
- {{#if static}}
39
- <p><span class="flag static">static</span></p>
40
- {{/if}}
41
- </div>
42
-
43
- {{#if deprecated}}
44
- <div class="box deprecated">
45
- <p>
46
- {{#if deprecationMessage}}
47
- <strong>Deprecated:</strong> {{deprecationMessage}}
48
- {{else}}
49
- This class is deprecated.
50
- {{/if}}
51
- </p>
52
- </div>
53
- {{/if}}
54
-
55
- <h3>Summary</h3>
56
- <div class="intro">
57
- {{{classDescription}}}
58
- </div>
59
-
60
- {{#is_constructor}}
61
- <div class="constructor">
62
- <h2>Constructor</h2>
63
- {{>method}}
64
- </div>
65
- {{/is_constructor}}
66
-
67
- <div id="classdocs" class="tabview">
68
- <ul class="api-class-tabs">
69
- <li class="api-class-tab index"><a href="#index">Index</a></li>
70
-
71
- {{#if methods}}
72
- <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
73
- {{/if}}
74
- {{#if properties}}
75
- <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
76
- {{/if}}
77
- {{#if attrs}}
78
- <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
79
- {{/if}}
80
- {{#if events}}
81
- <li class="api-class-tab events"><a href="#events">Events</a></li>
82
- {{/if}}
83
- </ul>
84
-
85
- <div>
86
- <div id="index" class="api-class-tabpanel index">
87
- <h2 class="off-left">Item Index</h2>
88
-
89
- {{#if methods}}
90
- <div class="index-section methods">
91
- <h3>Methods</h3>
92
-
93
- <ul class="index-list methods{{#if extends}} extends{{/if}}">
94
- {{#methods}}
95
- <li class="index-item method{{#if access}} {{access}}{{/if}}{{#if deprecated}} deprecated{{/if}}{{#if overwritten_from}} inherited{{/if}}{{#if extended_from}} inherited{{/if}}">
96
- <a href="#method_{{name}}">{{name}}</a>
97
-
98
- {{#if static}}
99
- <span class="flag static">static</span>
100
- {{/if}}
101
- {{#if deprecated}}
102
- <span class="flag deprecated">deprecated</span>
103
- {{/if}}
104
- </li>
105
- {{/methods}}
106
- </ul>
107
- </div>
108
- {{/if}}
109
-
110
- {{#if properties}}
111
- <div class="index-section properties">
112
- <h3>Properties</h3>
113
-
114
- <ul class="index-list properties{{#if extends}} extends{{/if}}">
115
- {{#properties}}
116
- <li class="index-item property{{#if access}} {{access}}{{/if}}{{#if deprecated}} deprecated{{/if}}{{#if overwritten_from}} inherited{{/if}}{{#if extended_from}} inherited{{/if}}">
117
- <a href="#property_{{name}}">{{name}}</a>
118
-
119
- {{#if static}}
120
- <span class="flag static">static</span>
121
- {{/if}}
122
- {{#if deprecated}}
123
- <span class="flag deprecated">deprecated</span>
124
- {{/if}}
125
- </li>
126
- {{/properties}}
127
- </ul>
128
- </div>
129
- {{/if}}
130
-
131
- {{#if attrs}}
132
- <div class="index-section attrs">
133
- <h3>Attributes</h3>
134
-
135
- <ul class="index-list attrs{{#if extends}} extends{{/if}}">
136
- {{#attrs}}
137
- <li class="index-item attr{{#if access}} {{access}}{{/if}}{{#if deprecated}} deprecated{{/if}}{{#if overwritten_from}} inherited{{/if}}{{#if extended_from}} inherited{{/if}}">
138
- <a href="#attr_{{name}}">{{name}}</a>
139
- </li>
140
- {{/attrs}}
141
- </ul>
142
- </div>
143
- {{/if}}
144
-
145
- {{#if events}}
146
- <div class="index-section events">
147
- <h3>Events</h3>
148
-
149
- <ul class="index-list events{{#if extends}} extends{{/if}}">
150
- {{#events}}
151
- <li class="index-item event{{#if access}} {{access}}{{/if}}{{#if deprecated}} deprecated{{/if}}{{#if overwritten_from}} inherited{{/if}}{{#if extended_from}} inherited{{/if}}">
152
- <a href="#event_{{name}}">{{name}}</a>
153
-
154
- {{#if static}}
155
- <span class="flag static">static</span>
156
- {{/if}}
157
- {{#if deprecated}}
158
- <span class="flag deprecated">deprecated</span>
159
- {{/if}}
160
- </li>
161
- {{/events}}
162
- </ul>
163
- </div>
164
- {{/if}}
165
- </div>
166
-
167
- {{#if methods}}
168
- <div id="methods" class="api-class-tabpanel">
169
- <h2 class="off-left">Methods</h2>
170
-
171
- {{#methods}}
172
- {{>method}}
173
- {{/methods}}
174
- </div>
175
- {{/if}}
176
-
177
- {{#if properties}}
178
- <div id="properties" class="api-class-tabpanel">
179
- <h2 class="off-left">Properties</h2>
180
-
181
- {{#properties}}
182
- {{>props}}
183
- {{/properties}}
184
- </div>
185
- {{/if}}
186
-
187
- {{#if attrs}}
188
- <div id="attrs" class="api-class-tabpanel">
189
- <h2 class="off-left">Attributes</h2>
190
-
191
- {{#attrs}}
192
- {{>attrs}}
193
- {{/attrs}}
194
- </div>
195
- {{/if}}
196
-
197
- {{#if events}}
198
- <div id="events" class="api-class-tabpanel">
199
- <h2 class="off-left">Events</h2>
200
-
201
- {{#events}}
202
- {{>events}}
203
- {{/events}}
204
- </div>
205
- {{/if}}
206
- </div>
207
- </div>
208
-
209
- {{> exampleurl }}
210
-
@@ -1,145 +0,0 @@
1
- <div id="event_{{name}}" class="events item{{#if access}} {{access}}{{/if}}{{#if deprecated}} deprecated{{/if}}{{#if extended_from}} inherited{{/if}}">
2
- <h3 class="blue-method-name">{{name}}</h3>
3
-
4
- <div class="meta method-meta">
5
- {{#if overwritten_from}}
6
- <p>Inherited from
7
- <a href="{{crossLinkRaw overwritten_from/class}}#event_{{overwritten_from/name}}">
8
- {{overwritten_from/class}}
9
- </a>
10
- {{#if foundAt}}
11
- but overwritten in
12
- {{/if}}
13
- {{else}}
14
- {{#if extended_from}}
15
- <p>Inherited from
16
- <a href="{{crossLinkRaw extended_from}}#event_{{name}}">{{extended_from}}</a>:
17
- {{else}}
18
- {{#providedBy}}
19
- <p>Provided by the <a href="../modules/{{.}}.html">{{.}}</a> module.</p>
20
- {{/providedBy}}
21
- <p>
22
- {{#if foundAt}}
23
- Defined in
24
- {{/if}}
25
- {{/if}}
26
- {{/if}}
27
- {{#if foundAt}}
28
- <a href="{{foundAt}}">`{{{file}}}:{{{line}}}`</a>
29
- {{/if}}
30
- </p>
31
-
32
- {{#if deprecationMessage}}
33
- <p>Deprecated: {{deprecationMessage}}</p>
34
- {{/if}}
35
-
36
- {{#if since}}
37
- <p>Available since {{since}}</p>
38
- {{/if}}
39
- </div>
40
- <h3>Syntax</h3>
41
- <div class="blue-method-syntax">
42
- <h3 class="name"><code>{{name}}</code></h3>
43
- <span class="type">{{#crossLink type}}{{/crossLink}}</span>
44
-
45
- {{#if deprecated}}
46
- <span class="flag deprecated"{{#if deprecationMessage}} title="{{deprecationMessage}}"{{/if}}>deprecated</span>
47
- {{/if}}
48
-
49
- {{#if access}}
50
- <span class="flag {{access}}">{{access}}</span>
51
- {{/if}}
52
-
53
- {{#if final}}
54
- <span class="flag final">final</span>
55
- {{/if}}
56
-
57
- {{#if static}}
58
- <span class="flag static">static</span>
59
- {{/if}}
60
-
61
- </div>
62
-
63
- <div class="description">
64
- <h3>Summary</h3>
65
- {{{eventDescription}}}
66
- </div>
67
-
68
- {{#if params}}
69
- <div class="params">
70
- <h4>Event Payload:</h4>
71
-
72
- <ul class="params-list">
73
- {{#params}}
74
- <li class="param">
75
- {{#if optional}}
76
- <code class="param-name optional">[{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]</code>
77
- <span class="type">{{#crossLink type}}{{/crossLink}}</span>
78
- <span class="flag optional" title="This parameter is optional.">optional</span>
79
- {{else}}
80
- <code class="param-name">{{name}}</code>
81
- <span class="type">{{#crossLink type}}{{/crossLink}}</span>
82
- {{/if}}
83
-
84
- {{#if multiple}}
85
- <span class="flag multiple" title="This parameter may occur one or more times.">Multiple</span>
86
- {{/if}}
87
-
88
- <div class="param-description">
89
- {{{description}}}
90
- </div>
91
-
92
- {{#if props}}
93
- <ul class="params-list">
94
- {{#props}}
95
- <li class="param">
96
- {{#if optional}}
97
- <code class="param-name optional">[{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]</code>
98
- <span class="type">{{#crossLink type}}{{/crossLink}}</span>
99
- <span class="flag optional" title="This parameter is optional.">optional</span>
100
- {{else}}
101
- <code class="param-name">{{name}}</code>
102
- <span class="type">{{#crossLink type}}{{/crossLink}}</span>
103
- {{/if}}
104
-
105
- <div class="param-description">
106
- {{{description}}}
107
- </div>
108
-
109
- {{#if props}}
110
- <ul class="params-list">
111
- {{#props}}
112
- <li class="param">
113
- <code class="param-name">{{name}}</code>
114
- <span class="type">{{#crossLink type}}{{/crossLink}}</span>
115
-
116
- <div class="param-description">
117
- {{{description}}}
118
- </div>
119
- </li>
120
- {{/props}}
121
- </ul>
122
- {{/if}}
123
- </li>
124
- {{/props}}
125
- </ul>
126
- {{/if}}
127
- </li>
128
- {{/params}}
129
- </ul>
130
- </div>
131
- {{/if}}
132
-
133
-
134
- {{#example}}
135
- <div class="example">
136
- <h4>Example:</h4>
137
-
138
- <div class="example-content">
139
- {{{.}}}
140
- </div>
141
- </div>
142
- {{/example}}
143
-
144
- {{> exampleurl }}
145
- </div>
@@ -1,8 +0,0 @@
1
- {{#if exampleIframe }}
2
- <div class="blue-live-example">
3
- <h3>Live example:</h3>
4
- <div class="example-iframe-wrapper">
5
- {{{ exampleIframe }}}
6
- </div>
7
- </div>
8
- {{/if}}
@@ -1,7 +0,0 @@
1
- <h1 class="file-heading">File: {{fileName}}</h1>
2
-
3
- <div class="file">
4
- <pre class="code prettyprint linenums">
5
- {{fileData}}
6
- </pre>
7
- </div>
@@ -1,18 +0,0 @@
1
- <h1>Keyboard Shortcuts</h1>
2
- <p>
3
- Browse to a module or class using the sidebar to view its API documentation.
4
- </p>
5
-
6
- <ul>
7
- <li><p>Press <kbd>s</kbd> to focus the API search box.</p></li>
8
-
9
- <li><p>Use <kbd>Up</kbd> and <kbd>Down</kbd> to select classes, modules, and search results.</p></li>
10
-
11
- <li class="mac-only"><p>With the API search box or sidebar focused, use <kbd><span class="cmd">&#x2318;</span>-Left</kbd> or <kbd><span class="cmd">&#x2318;</span>-Right</kbd> to switch sidebar tabs.</p></li>
12
-
13
- <li class="pc-only"><p>With the API search box or sidebar focused, use <kbd>Ctrl+Left</kbd> and <kbd>Ctrl+Right</kbd> to switch sidebar tabs.</p></li>
14
- </ul>
15
-
16
-
17
-
18
-