sb-styleguide 0.0.9 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.codoopts +10 -0
- data/.env +1 -0
- data/.gitignore +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +10 -3
- data/Gemfile.lock +134 -94
- data/Procfile +1 -0
- data/README.md +3 -5
- data/Rakefile +3 -0
- data/app/assets/images/layouts/basic-marketing-site.png +0 -0
- data/app/assets/images/layouts/jumbotron-site.png +0 -0
- data/app/assets/javascripts/base.js.coffee +3 -0
- data/app/assets/javascripts/grids.js.coffee +3 -0
- data/app/assets/javascripts/javascript.js.coffee +3 -0
- data/app/assets/javascripts/modules.js.coffee +3 -0
- data/app/assets/stylesheets/application-old-ie.css.scss +11 -0
- data/app/assets/stylesheets/application.css.scss +33 -30
- data/app/assets/stylesheets/base/_all.scss +6 -0
- data/app/assets/stylesheets/base/_reset.css.scss +16 -0
- data/app/assets/stylesheets/base/_type.scss +16 -0
- data/app/assets/stylesheets/{coderay_githubish.css.scss → modules/_coderay.css.scss} +40 -0
- data/app/assets/stylesheets/modules/_layout_examples.css.scss +13 -0
- data/app/assets/stylesheets/modules/_webfont_table.css.scss +47 -0
- data/app/assets/stylesheets/vanilla-normal-old-ie.css.scss +11 -0
- data/app/assets/stylesheets/vanilla-normal.css.scss +33 -0
- data/app/controllers/application_controller.rb +2 -0
- data/app/controllers/base_controller.rb +52 -0
- data/app/controllers/grids_controller.rb +48 -0
- data/app/controllers/javascript_controller.rb +20 -0
- data/app/controllers/modules_controller.rb +43 -0
- data/app/helpers/styleguide_helper.rb +33 -0
- data/app/views/base/_webfonts_social_standard.html +429 -0
- data/app/views/base/_webfonts_ss_standard.html +2413 -0
- data/app/views/base/buttons.html.haml +20 -0
- data/app/views/base/forms.html.haml +40 -0
- data/app/views/base/images.html.haml +1 -0
- data/app/views/base/index.html.haml +68 -0
- data/app/views/base/labels.html.haml +22 -0
- data/app/views/base/lists.html.haml +20 -0
- data/app/views/base/webfonts.html.haml +17 -0
- data/app/views/grids/index.html.haml +73 -0
- data/app/views/grids/layouts.html.haml +9 -0
- data/app/views/grids/layouts/basic-marketing-site.haml +69 -0
- data/app/views/grids/layouts/jumbotron-site.haml +92 -0
- data/app/views/layouts/_main_nav.html.haml +6 -6
- data/app/views/layouts/application.html.haml +6 -32
- data/app/views/modules/alerts.html.haml +12 -0
- data/app/views/modules/footer.html.haml +2 -0
- data/app/views/modules/index.html.haml +5 -0
- data/app/views/modules/nav.html.haml +12 -0
- data/app/views/modules/panels.html.haml +3 -0
- data/app/views/modules/tabs.html.haml +58 -0
- data/app/views/old_javascript/close.html.haml +2 -0
- data/app/views/old_javascript/forms.html.haml +2 -0
- data/app/views/old_javascript/ga_events.html.haml +2 -0
- data/app/views/old_javascript/index.html.haml +2 -0
- data/app/views/old_javascript/responsive_resize.html.haml +2 -0
- data/app/views/old_javascript/switch.html.haml +2 -0
- data/app/views/parts/base/_button.haml +3 -0
- data/app/views/parts/base/_button_colours.haml +4 -0
- data/app/views/parts/base/_button_group.haml +4 -0
- data/app/views/parts/base/_button_sizing.haml +3 -0
- data/app/views/parts/base/_button_states.haml +3 -0
- data/app/views/parts/base/_form_example.haml +26 -0
- data/app/views/parts/base/_form_example_horizontal.haml +26 -0
- data/app/views/parts/base/_form_group.haml +10 -0
- data/app/views/parts/base/_form_location.haml +3 -0
- data/app/views/parts/base/_labels.haml +5 -0
- data/app/views/parts/base/_labels_sizing.haml +3 -0
- data/app/views/parts/base/_list.haml +10 -0
- data/app/views/parts/base/_list_action.haml +5 -0
- data/app/views/parts/base/_list_nav.haml +12 -0
- data/app/views/parts/base/_list_unset.haml +10 -0
- data/app/views/parts/base/_type_body.haml +2 -0
- data/app/views/parts/base/_type_headings.haml +5 -0
- data/app/views/parts/base/_type_helpers.haml +3 -0
- data/app/views/parts/base/_type_links.haml +9 -0
- data/app/views/parts/base/_type_shouts.haml +4 -0
- data/app/views/parts/grids/_example_layout_1.haml +10 -0
- data/app/views/parts/grids/_live_grid.haml +29 -0
- data/app/views/parts/modules/_alerts.haml +11 -0
- data/app/views/parts/modules/_nav_footer.haml +34 -0
- data/app/views/parts/modules/_nav_header.haml +18 -0
- data/app/views/parts/modules/_panels.haml +9 -0
- data/app/views/parts/modules/_tabs_minimal.haml +11 -0
- data/app/views/parts/modules/_tabs_simple_group.haml +11 -0
- data/app/views/parts/modules/_tabs_simple_group_toggle.haml +11 -0
- data/app/views/parts/modules/_tabs_toggle.haml +5 -0
- data/app/views/parts/modules/_tabs_traditional.haml +11 -0
- data/app/views/shared/_title.html.haml +8 -0
- data/app/views/shared/_ui_nav.html.haml +5 -0
- data/app/views/ui/typography.html.haml +86 -96
- data/lib/sb-styleguide.rb +1 -1
- data/lib/sb-styleguide/version.rb +1 -1
- data/lib/templates/haml/scaffold/_form.html.haml +8 -0
- data/public/javascripts/LICENSE.html +158 -0
- data/public/javascripts/README.md.html +164 -0
- data/public/javascripts/assets/codo.css +1 -0
- data/public/javascripts/assets/codo.js +21 -0
- data/public/javascripts/assets/search_data.js +1 -0
- data/public/javascripts/class_index.html +215 -0
- data/public/javascripts/class_list.html +58 -0
- data/public/javascripts/classes/Close.html +259 -0
- data/public/javascripts/classes/GAEvent.html +231 -0
- data/public/javascripts/classes/ResizeHandler.html +225 -0
- data/public/javascripts/classes/Switch.html +318 -0
- data/public/javascripts/classes/TBGForm.html +373 -0
- data/public/javascripts/extra_list.html +36 -0
- data/public/javascripts/file_list.html +74 -0
- data/public/javascripts/files/styleguide/plugins/tbg-close.js.coffee.html +160 -0
- data/public/javascripts/files/styleguide/plugins/tbg-forms.js.coffee.html +160 -0
- data/public/javascripts/files/styleguide/plugins/tbg-ga-events.js.coffee.html +160 -0
- data/public/javascripts/files/styleguide/plugins/tbg-respinsiveresize.js.coffee.html +160 -0
- data/public/javascripts/files/styleguide/plugins/tbg-switch.js.coffee.html +160 -0
- data/public/javascripts/index.html +14 -0
- data/public/javascripts/method_list.html +187 -0
- data/public/javascripts/mixin_list.html +28 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/assets/codo.css +1 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/assets/codo.js +21 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/assets/search_data.js +1 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/class_index.html +194 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/class_list.html +58 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/classes/Close.html +215 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/classes/GAEvent.html +235 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/classes/ResizeHandler.html +192 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/classes/Switch.html +233 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/classes/TBGForm.html +318 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/extra_list.html +30 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/file_list.html +58 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-close.js.coffee.html +154 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-forms.js.coffee.html +154 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-ga-events.js.coffee.html +154 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-respinsiveresize.js.coffee.html +154 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-switch.js.coffee.html +154 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/index.html +14 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/method_list.html +163 -0
- data/vendor/assets/javascripts/styleguide/plugins/doc/mixin_list.html +28 -0
- data/vendor/assets/javascripts/styleguide/plugins/tbg-close.js.coffee +28 -4
- data/vendor/assets/javascripts/styleguide/plugins/tbg-forms.js.coffee +52 -5
- data/vendor/assets/javascripts/styleguide/plugins/tbg-ga-events.js.coffee +28 -8
- data/vendor/assets/javascripts/styleguide/plugins/tbg-respinsiveresize.js.coffee +21 -2
- data/vendor/assets/javascripts/styleguide/plugins/tbg-switch.js.coffee +37 -2
- data/vendor/assets/stylesheets/_mixins.css.scss +128 -35
- data/vendor/assets/stylesheets/_settings.css.scss +7 -4
- data/vendor/assets/stylesheets/styleguide/base/_labels.css.scss +22 -6
- data/vendor/assets/stylesheets/styleguide/base/_lists.css.scss +23 -18
- data/vendor/assets/stylesheets/styleguide/base/_type.css.scss +11 -5
- data/vendor/assets/stylesheets/styleguide/grid/_grid.css.scss +9 -9
- data/vendor/assets/stylesheets/styleguide/modules/_switch.css.scss +32 -16
- metadata +134 -18
- data/.rvmrc +0 -1
- data/app/helpers/application_helper.rb +0 -13
- data/app/helpers/javascripts_helper.rb +0 -2
- data/app/helpers/ui_helper.rb +0 -2
- data/app/mailers/.gitkeep +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/views/javascripts/_js_nav.html.haml +0 -5
- data/app/views/javascripts/index.html.haml +0 -45
- data/app/views/type/_headings.haml +0 -6
- data/app/views/type/_paragraphs.haml +0 -4
- data/app/views/ui/_ui_nav.html.haml +0 -13
- data/vendor/assets/stylesheets/styleguide/layout/_all.css.scss +0 -5
- data/vendor/plugins/.gitkeep +0 -0
@@ -0,0 +1,373 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset='UTF-8'>
|
5
|
+
<title>Codo Documentation</title>
|
6
|
+
<link rel='stylesheet' href='../assets/codo.css' type='text/css'>
|
7
|
+
<script src='../assets/codo.js'></script>
|
8
|
+
<script src='../assets/search_data.js'></script>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<div id='base' data-path='../'></div>
|
12
|
+
<div id='header'>
|
13
|
+
<div id='menu'>
|
14
|
+
<a href='../README.md.html' title='Codo'>Codo</a>
|
15
|
+
»
|
16
|
+
<a href='../class_index.html' title='Index'>Index</a>
|
17
|
+
»
|
18
|
+
<span class='title'>TBGForm</span>
|
19
|
+
<nav>
|
20
|
+
<ul>
|
21
|
+
<li class='noframes'>
|
22
|
+
(<a class='noframes' href='#'>no frames</a>)
|
23
|
+
</li>
|
24
|
+
</ul>
|
25
|
+
</nav>
|
26
|
+
<div id='search'>
|
27
|
+
<a id='class_list_link' href='../class_list.html'>Classes</a>
|
28
|
+
<a id='file_list_link' href='../file_list.html'>Files</a>
|
29
|
+
<a id='method_list_link' href='../method_list.html'>Methods</a>
|
30
|
+
<a id='extra_list_link' href='../extra_list.html'>Extras</a>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
<iframe id='search_frame'></iframe>
|
34
|
+
<div id='fuzzySearch'>
|
35
|
+
<input type='text'>
|
36
|
+
<ol></ol>
|
37
|
+
</div>
|
38
|
+
<div id='help'>
|
39
|
+
<p>
|
40
|
+
Quickly fuzzy find classes, mixins, methods, file:
|
41
|
+
</p>
|
42
|
+
<ul>
|
43
|
+
<li>
|
44
|
+
<span>Ctrl-T</span>
|
45
|
+
Open fuzzy finder dialog
|
46
|
+
</li>
|
47
|
+
</ul>
|
48
|
+
<p>
|
49
|
+
In frame mode you can toggle the list naviation frame on the left side:
|
50
|
+
</p>
|
51
|
+
<ul>
|
52
|
+
<li>
|
53
|
+
<span>Ctrl-L</span>
|
54
|
+
Toggle list view
|
55
|
+
</li>
|
56
|
+
</ul>
|
57
|
+
<p>
|
58
|
+
You can focus a list in frame mode or toggle a tab in frameless mode:
|
59
|
+
</p>
|
60
|
+
<ul>
|
61
|
+
<li>
|
62
|
+
<span>Ctrl-C</span>
|
63
|
+
Class list
|
64
|
+
</li>
|
65
|
+
<li>
|
66
|
+
<span>Ctrl-I</span>
|
67
|
+
Mixin list
|
68
|
+
</li>
|
69
|
+
<li>
|
70
|
+
<span>Ctrl-F</span>
|
71
|
+
File list
|
72
|
+
</li>
|
73
|
+
<li>
|
74
|
+
<span>Ctrl-M</span>
|
75
|
+
Method list
|
76
|
+
</li>
|
77
|
+
<li>
|
78
|
+
<span>Ctrl-E</span>
|
79
|
+
Extras list
|
80
|
+
</li>
|
81
|
+
</ul>
|
82
|
+
<p>
|
83
|
+
You can focus and blur the search input:
|
84
|
+
</p>
|
85
|
+
<ul>
|
86
|
+
<li>
|
87
|
+
<span>Ctrl-S</span>
|
88
|
+
Focus search input
|
89
|
+
</li>
|
90
|
+
<li>
|
91
|
+
<span>Esc</span>
|
92
|
+
Blur search input
|
93
|
+
</li>
|
94
|
+
</ul>
|
95
|
+
<p>
|
96
|
+
In frameless mode you can close the list tab:
|
97
|
+
</p>
|
98
|
+
<ul>
|
99
|
+
<li>
|
100
|
+
<span>Esc</span>
|
101
|
+
Close list tab
|
102
|
+
</li>
|
103
|
+
</ul>
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
<div id='content'>
|
107
|
+
<h1>
|
108
|
+
Class:
|
109
|
+
TBGForm
|
110
|
+
</h1>
|
111
|
+
<table class='box'>
|
112
|
+
<tr>
|
113
|
+
<td>Defined in:</td>
|
114
|
+
<td>vendor/assets/javascripts/styleguide/plugins/tbg-forms.js.coffee</td>
|
115
|
+
</tr>
|
116
|
+
</table>
|
117
|
+
<h2>Overview</h2>
|
118
|
+
<div class='docstring'>
|
119
|
+
<p>FORM CLASS DEFINITION</p>
|
120
|
+
<div class='examples'>
|
121
|
+
<h3>Examples:</h3>
|
122
|
+
<h4>
|
123
|
+
How to use the class
|
124
|
+
</h4>
|
125
|
+
<pre><code class='coffee'>formInstance = new TBGForm $('.my-element')
|
126
|
+
# Send form
|
127
|
+
formInstance.send()</code></pre>
|
128
|
+
<h4>
|
129
|
+
How to use the class with jQuery
|
130
|
+
</h4>
|
131
|
+
<pre><code class='coffee'>$('.my-element').send()</code></pre>
|
132
|
+
<h4>
|
133
|
+
How to ensure plugin self initialises on element
|
134
|
+
</h4>
|
135
|
+
<pre><code class='coffee'><form data-forms="/endpoint"> ... </form></code></pre>
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
<div class='tags'>
|
139
|
+
</div>
|
140
|
+
<h2>Instance Method Summary</h2>
|
141
|
+
<ul class='summary'>
|
142
|
+
<li>
|
143
|
+
<span class='signature'>
|
144
|
+
<a href='#constructor-instance'>
|
145
|
+
- (void) <strong>constructor</strong>(element)
|
146
|
+
</a>
|
147
|
+
</span>
|
148
|
+
<span class='constructor note title'>Constructor</span>
|
149
|
+
<span class='desc'>
|
150
|
+
Construct a new TBGForm instance
|
151
|
+
</span>
|
152
|
+
</li>
|
153
|
+
<li>
|
154
|
+
<span class='signature'>
|
155
|
+
<a href='#send-instance'>
|
156
|
+
- (void) <strong>send</strong>()
|
157
|
+
</a>
|
158
|
+
</span>
|
159
|
+
<span class='desc'>
|
160
|
+
Send the form, calls sendRequest passing form data and url to post to
|
161
|
+
</span>
|
162
|
+
</li>
|
163
|
+
<li>
|
164
|
+
<span class='signature'>
|
165
|
+
<a href='#sendRequest-instance'>
|
166
|
+
- (void) <strong>sendRequest</strong>(data, url)
|
167
|
+
</a>
|
168
|
+
</span>
|
169
|
+
<span class='desc'>
|
170
|
+
Execute ajax post
|
171
|
+
</span>
|
172
|
+
</li>
|
173
|
+
<li>
|
174
|
+
<span class='signature'>
|
175
|
+
<a href='#showErrors-instance'>
|
176
|
+
- (void) <strong>showErrors</strong>(errors)
|
177
|
+
</a>
|
178
|
+
</span>
|
179
|
+
<span class='desc'>
|
180
|
+
Handle form post errors - called from sendRequest error callback.
|
181
|
+
</span>
|
182
|
+
</li>
|
183
|
+
<li>
|
184
|
+
<span class='signature'>
|
185
|
+
<a href='#showSuccess-instance'>
|
186
|
+
- (void) <strong>showSuccess</strong>(data)
|
187
|
+
</a>
|
188
|
+
</span>
|
189
|
+
<span class='desc'>
|
190
|
+
Handle form post success - called from sendRequest success callback.
|
191
|
+
</span>
|
192
|
+
</li>
|
193
|
+
<li>
|
194
|
+
<span class='signature'>
|
195
|
+
<a href='#_showSuccessTemplated-instance'>
|
196
|
+
- (void) <strong>_showSuccessTemplated</strong>(data)
|
197
|
+
</a>
|
198
|
+
</span>
|
199
|
+
<span class='note private title'>Private</span>
|
200
|
+
<span class='desc'>
|
201
|
+
Display compiled success template Compile template from data-formsSuccessContent; display with data object
|
202
|
+
</span>
|
203
|
+
</li>
|
204
|
+
<li>
|
205
|
+
<span class='signature'>
|
206
|
+
<a href='#_showSuccessPlain-instance'>
|
207
|
+
- (void) <strong>_showSuccessPlain</strong>()
|
208
|
+
</a>
|
209
|
+
</span>
|
210
|
+
<span class='note private title'>Private</span>
|
211
|
+
<span class='desc'>
|
212
|
+
Display success with replaced content Display data-formsSuccessContent HTML
|
213
|
+
</span>
|
214
|
+
</li>
|
215
|
+
</ul>
|
216
|
+
<h2>Constructor Details</h2>
|
217
|
+
<div class='methods'>
|
218
|
+
<div class='method_details'>
|
219
|
+
<p class='signature' id='constructor-instance'>
|
220
|
+
- (void) <strong>constructor</strong>(element)
|
221
|
+
</p>
|
222
|
+
<div class='docstring'>
|
223
|
+
<p>Construct a new TBGForm instance</p>
|
224
|
+
</div>
|
225
|
+
<div class='tags'>
|
226
|
+
<h3>Parameters:</h3>
|
227
|
+
<ul class='param'>
|
228
|
+
<li>
|
229
|
+
<span class='name'>element</span>
|
230
|
+
<span class='type'>
|
231
|
+
(<tt>Object</tt>)
|
232
|
+
</span>
|
233
|
+
—
|
234
|
+
<span class='desc'>form we will attach the TBGForm to</span>
|
235
|
+
</li>
|
236
|
+
</ul>
|
237
|
+
</div>
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
<h2>Instance Method Details</h2>
|
241
|
+
<div class='methods'>
|
242
|
+
<div class='method_details'>
|
243
|
+
<p class='signature' id='send-instance'>
|
244
|
+
- (void) <strong>send</strong>()
|
245
|
+
</p>
|
246
|
+
<div class='docstring'>
|
247
|
+
<p>Send the form, calls sendRequest passing form data and url to post to</p>
|
248
|
+
</div>
|
249
|
+
<div class='tags'>
|
250
|
+
</div>
|
251
|
+
</div>
|
252
|
+
<div class='method_details'>
|
253
|
+
<p class='signature' id='sendRequest-instance'>
|
254
|
+
- (void) <strong>sendRequest</strong>(data, url)
|
255
|
+
</p>
|
256
|
+
<div class='docstring'>
|
257
|
+
<p>Execute ajax post</p>
|
258
|
+
</div>
|
259
|
+
<div class='tags'>
|
260
|
+
<h3>Parameters:</h3>
|
261
|
+
<ul class='param'>
|
262
|
+
<li>
|
263
|
+
<span class='name'>data</span>
|
264
|
+
<span class='type'>
|
265
|
+
(<tt>String</tt>)
|
266
|
+
</span>
|
267
|
+
—
|
268
|
+
<span class='desc'>serialized form data</span>
|
269
|
+
</li>
|
270
|
+
<li>
|
271
|
+
<span class='name'>url</span>
|
272
|
+
<span class='type'>
|
273
|
+
(<tt>String</tt>)
|
274
|
+
</span>
|
275
|
+
—
|
276
|
+
<span class='desc'>URL to post form to</span>
|
277
|
+
</li>
|
278
|
+
</ul>
|
279
|
+
</div>
|
280
|
+
</div>
|
281
|
+
<div class='method_details'>
|
282
|
+
<p class='signature' id='showErrors-instance'>
|
283
|
+
- (void) <strong>showErrors</strong>(errors)
|
284
|
+
</p>
|
285
|
+
<div class='docstring'>
|
286
|
+
<p>Handle form post errors - called from sendRequest error callback.</p><p>Clear previous errors, add error classes to relevent fields and labels and add error message summary</p>
|
287
|
+
</div>
|
288
|
+
<div class='tags'>
|
289
|
+
<h3>Parameters:</h3>
|
290
|
+
<ul class='param'>
|
291
|
+
<li>
|
292
|
+
<span class='name'>errors</span>
|
293
|
+
<span class='type'>
|
294
|
+
(<tt>Object</tt>)
|
295
|
+
</span>
|
296
|
+
—
|
297
|
+
<span class='desc'>errors object</span>
|
298
|
+
</li>
|
299
|
+
</ul>
|
300
|
+
</div>
|
301
|
+
</div>
|
302
|
+
<div class='method_details'>
|
303
|
+
<p class='signature' id='showSuccess-instance'>
|
304
|
+
- (void) <strong>showSuccess</strong>(data)
|
305
|
+
</p>
|
306
|
+
<div class='docstring'>
|
307
|
+
<p>Handle form post success - called from sendRequest success callback.</p><p>Pass empty error object to showErrors; if Handlebars defined call _showSuccessTemplated with data object otherwise call _showSuccessPlain; trigger 'tbgform-success' event with form data; fade form if necessary</p>
|
308
|
+
</div>
|
309
|
+
<div class='tags'>
|
310
|
+
<h3>Parameters:</h3>
|
311
|
+
<ul class='param'>
|
312
|
+
<li>
|
313
|
+
<span class='name'>data</span>
|
314
|
+
<span class='type'>
|
315
|
+
(<tt>Object</tt>)
|
316
|
+
</span>
|
317
|
+
—
|
318
|
+
<span class='desc'>response from ajax post</span>
|
319
|
+
</li>
|
320
|
+
</ul>
|
321
|
+
</div>
|
322
|
+
</div>
|
323
|
+
<div class='method_details'>
|
324
|
+
<p class='signature' id='_showSuccessTemplated-instance'>
|
325
|
+
- (void) <strong>_showSuccessTemplated</strong>(data)
|
326
|
+
(private)
|
327
|
+
</p>
|
328
|
+
<div class='docstring'>
|
329
|
+
<p>Display compiled success template</p><p>Compile template from data-formsSuccessContent; display with data object</p>
|
330
|
+
</div>
|
331
|
+
<div class='tags'>
|
332
|
+
<h3>Parameters:</h3>
|
333
|
+
<ul class='param'>
|
334
|
+
<li>
|
335
|
+
<span class='name'>data</span>
|
336
|
+
<span class='type'>
|
337
|
+
(<tt>Object</tt>)
|
338
|
+
</span>
|
339
|
+
—
|
340
|
+
<span class='desc'>data object from showSuccess</span>
|
341
|
+
</li>
|
342
|
+
</ul>
|
343
|
+
</div>
|
344
|
+
</div>
|
345
|
+
<div class='method_details'>
|
346
|
+
<p class='signature' id='_showSuccessPlain-instance'>
|
347
|
+
- (void) <strong>_showSuccessPlain</strong>()
|
348
|
+
(private)
|
349
|
+
</p>
|
350
|
+
<div class='docstring'>
|
351
|
+
<p>Display success with replaced content</p><p>Display data-formsSuccessContent HTML</p>
|
352
|
+
</div>
|
353
|
+
<div class='tags'>
|
354
|
+
</div>
|
355
|
+
</div>
|
356
|
+
</div>
|
357
|
+
</div>
|
358
|
+
<div id='footer'>
|
359
|
+
Generated on
|
360
|
+
Thu Mar 14 2013 13:49:05 GMT+0000 (GMT)
|
361
|
+
by
|
362
|
+
<a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
|
363
|
+
v1.5.6
|
364
|
+
(Node.js v0.8.8).
|
365
|
+
✲
|
366
|
+
Press Ctrl-h to see the keyboard shortcuts
|
367
|
+
✲
|
368
|
+
<a href='http://twitter.com/#!/netzpirat'>@netzpirat</a>
|
369
|
+
✲
|
370
|
+
<a href='https://mksoft.ch'>mksoft.ch</a>
|
371
|
+
</div>
|
372
|
+
</body>
|
373
|
+
</html>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset='UTF-8'>
|
5
|
+
<title>Codo Documentation</title>
|
6
|
+
<link rel='stylesheet' href='assets/codo.css' type='text/css'>
|
7
|
+
<script src='assets/codo.js'></script>
|
8
|
+
<script src='assets/search_data.js'></script>
|
9
|
+
</head>
|
10
|
+
<body class='list'>
|
11
|
+
<div class='list' id='content'>
|
12
|
+
<h1 class='full_list_header'>File List</h1>
|
13
|
+
<nav>
|
14
|
+
<a target='_self' href='class_list.html'>Classes</a>
|
15
|
+
<a target='_self' href='file_list.html'>Files</a>
|
16
|
+
<a target='_self' href='method_list.html'>Methods</a>
|
17
|
+
<a target='_self' href='extra_list.html'>Extras</a>
|
18
|
+
</nav>
|
19
|
+
<div id='search'>
|
20
|
+
Search:
|
21
|
+
<input type='text'>
|
22
|
+
</div>
|
23
|
+
<ul>
|
24
|
+
<li>
|
25
|
+
<a href='README.md.html' target='main' title='README.md'>README.md</a>
|
26
|
+
</li>
|
27
|
+
<li>
|
28
|
+
<a href='CHANGELOG.md.html' target='main' title='CHANGELOG.md'>CHANGELOG.md</a>
|
29
|
+
</li>
|
30
|
+
<li>
|
31
|
+
<a href='LICENSE.html' target='main' title='LICENSE'>LICENSE</a>
|
32
|
+
</li>
|
33
|
+
</ul>
|
34
|
+
</div>
|
35
|
+
</body>
|
36
|
+
</html>
|
@@ -0,0 +1,74 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset='UTF-8'>
|
5
|
+
<title>Codo Documentation</title>
|
6
|
+
<link rel='stylesheet' href='assets/codo.css' type='text/css'>
|
7
|
+
<script src='assets/codo.js'></script>
|
8
|
+
<script src='assets/search_data.js'></script>
|
9
|
+
</head>
|
10
|
+
<body class='list'>
|
11
|
+
<div class='list tree' id='content'>
|
12
|
+
<h1 class='full_list_header'>File List</h1>
|
13
|
+
<nav>
|
14
|
+
<a target='_self' href='class_list.html'>Classes</a>
|
15
|
+
<a target='_self' href='file_list.html'>Files</a>
|
16
|
+
<a target='_self' href='method_list.html'>Methods</a>
|
17
|
+
<a target='_self' href='extra_list.html'>Extras</a>
|
18
|
+
</nav>
|
19
|
+
<div id='search'>
|
20
|
+
Search:
|
21
|
+
<input type='text'>
|
22
|
+
</div>
|
23
|
+
<ul>
|
24
|
+
<li>
|
25
|
+
<span>
|
26
|
+
styleguide
|
27
|
+
</span>
|
28
|
+
</li>
|
29
|
+
<ul>
|
30
|
+
<li>
|
31
|
+
<span>
|
32
|
+
plugins
|
33
|
+
</span>
|
34
|
+
</li>
|
35
|
+
<ul>
|
36
|
+
<li>
|
37
|
+
<a href='files/styleguide/plugins/tbg-close.js.coffee.html' target='main'>tbg-close.js.coffee</a>
|
38
|
+
<small class='namespace'>
|
39
|
+
styleguide/plugins
|
40
|
+
</small>
|
41
|
+
</li>
|
42
|
+
<li>
|
43
|
+
<a href='files/styleguide/plugins/tbg-forms.js.coffee.html' target='main'>tbg-forms.js.coffee</a>
|
44
|
+
<small class='namespace'>
|
45
|
+
styleguide/plugins
|
46
|
+
</small>
|
47
|
+
</li>
|
48
|
+
<li>
|
49
|
+
<a href='files/styleguide/plugins/tbg-ga-events.js.coffee.html' target='main'>tbg-ga-events.js.coffee</a>
|
50
|
+
<small class='namespace'>
|
51
|
+
styleguide/plugins
|
52
|
+
</small>
|
53
|
+
</li>
|
54
|
+
<li>
|
55
|
+
<a href='files/styleguide/plugins/tbg-respinsiveresize.js.coffee.html' target='main'>tbg-respinsiveresize.js.coffee</a>
|
56
|
+
<small class='namespace'>
|
57
|
+
styleguide/plugins
|
58
|
+
</small>
|
59
|
+
</li>
|
60
|
+
<li>
|
61
|
+
<a href='files/styleguide/plugins/tbg-switch.js.coffee.html' target='main'>tbg-switch.js.coffee</a>
|
62
|
+
<small class='namespace'>
|
63
|
+
styleguide/plugins
|
64
|
+
</small>
|
65
|
+
</li>
|
66
|
+
</ul>
|
67
|
+
|
68
|
+
</ul>
|
69
|
+
|
70
|
+
</ul>
|
71
|
+
|
72
|
+
</div>
|
73
|
+
</body>
|
74
|
+
</html>
|