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.
Files changed (163) hide show
  1. data/.codoopts +10 -0
  2. data/.env +1 -0
  3. data/.gitignore +1 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +10 -3
  6. data/Gemfile.lock +134 -94
  7. data/Procfile +1 -0
  8. data/README.md +3 -5
  9. data/Rakefile +3 -0
  10. data/app/assets/images/layouts/basic-marketing-site.png +0 -0
  11. data/app/assets/images/layouts/jumbotron-site.png +0 -0
  12. data/app/assets/javascripts/base.js.coffee +3 -0
  13. data/app/assets/javascripts/grids.js.coffee +3 -0
  14. data/app/assets/javascripts/javascript.js.coffee +3 -0
  15. data/app/assets/javascripts/modules.js.coffee +3 -0
  16. data/app/assets/stylesheets/application-old-ie.css.scss +11 -0
  17. data/app/assets/stylesheets/application.css.scss +33 -30
  18. data/app/assets/stylesheets/base/_all.scss +6 -0
  19. data/app/assets/stylesheets/base/_reset.css.scss +16 -0
  20. data/app/assets/stylesheets/base/_type.scss +16 -0
  21. data/app/assets/stylesheets/{coderay_githubish.css.scss → modules/_coderay.css.scss} +40 -0
  22. data/app/assets/stylesheets/modules/_layout_examples.css.scss +13 -0
  23. data/app/assets/stylesheets/modules/_webfont_table.css.scss +47 -0
  24. data/app/assets/stylesheets/vanilla-normal-old-ie.css.scss +11 -0
  25. data/app/assets/stylesheets/vanilla-normal.css.scss +33 -0
  26. data/app/controllers/application_controller.rb +2 -0
  27. data/app/controllers/base_controller.rb +52 -0
  28. data/app/controllers/grids_controller.rb +48 -0
  29. data/app/controllers/javascript_controller.rb +20 -0
  30. data/app/controllers/modules_controller.rb +43 -0
  31. data/app/helpers/styleguide_helper.rb +33 -0
  32. data/app/views/base/_webfonts_social_standard.html +429 -0
  33. data/app/views/base/_webfonts_ss_standard.html +2413 -0
  34. data/app/views/base/buttons.html.haml +20 -0
  35. data/app/views/base/forms.html.haml +40 -0
  36. data/app/views/base/images.html.haml +1 -0
  37. data/app/views/base/index.html.haml +68 -0
  38. data/app/views/base/labels.html.haml +22 -0
  39. data/app/views/base/lists.html.haml +20 -0
  40. data/app/views/base/webfonts.html.haml +17 -0
  41. data/app/views/grids/index.html.haml +73 -0
  42. data/app/views/grids/layouts.html.haml +9 -0
  43. data/app/views/grids/layouts/basic-marketing-site.haml +69 -0
  44. data/app/views/grids/layouts/jumbotron-site.haml +92 -0
  45. data/app/views/layouts/_main_nav.html.haml +6 -6
  46. data/app/views/layouts/application.html.haml +6 -32
  47. data/app/views/modules/alerts.html.haml +12 -0
  48. data/app/views/modules/footer.html.haml +2 -0
  49. data/app/views/modules/index.html.haml +5 -0
  50. data/app/views/modules/nav.html.haml +12 -0
  51. data/app/views/modules/panels.html.haml +3 -0
  52. data/app/views/modules/tabs.html.haml +58 -0
  53. data/app/views/old_javascript/close.html.haml +2 -0
  54. data/app/views/old_javascript/forms.html.haml +2 -0
  55. data/app/views/old_javascript/ga_events.html.haml +2 -0
  56. data/app/views/old_javascript/index.html.haml +2 -0
  57. data/app/views/old_javascript/responsive_resize.html.haml +2 -0
  58. data/app/views/old_javascript/switch.html.haml +2 -0
  59. data/app/views/parts/base/_button.haml +3 -0
  60. data/app/views/parts/base/_button_colours.haml +4 -0
  61. data/app/views/parts/base/_button_group.haml +4 -0
  62. data/app/views/parts/base/_button_sizing.haml +3 -0
  63. data/app/views/parts/base/_button_states.haml +3 -0
  64. data/app/views/parts/base/_form_example.haml +26 -0
  65. data/app/views/parts/base/_form_example_horizontal.haml +26 -0
  66. data/app/views/parts/base/_form_group.haml +10 -0
  67. data/app/views/parts/base/_form_location.haml +3 -0
  68. data/app/views/parts/base/_labels.haml +5 -0
  69. data/app/views/parts/base/_labels_sizing.haml +3 -0
  70. data/app/views/parts/base/_list.haml +10 -0
  71. data/app/views/parts/base/_list_action.haml +5 -0
  72. data/app/views/parts/base/_list_nav.haml +12 -0
  73. data/app/views/parts/base/_list_unset.haml +10 -0
  74. data/app/views/parts/base/_type_body.haml +2 -0
  75. data/app/views/parts/base/_type_headings.haml +5 -0
  76. data/app/views/parts/base/_type_helpers.haml +3 -0
  77. data/app/views/parts/base/_type_links.haml +9 -0
  78. data/app/views/parts/base/_type_shouts.haml +4 -0
  79. data/app/views/parts/grids/_example_layout_1.haml +10 -0
  80. data/app/views/parts/grids/_live_grid.haml +29 -0
  81. data/app/views/parts/modules/_alerts.haml +11 -0
  82. data/app/views/parts/modules/_nav_footer.haml +34 -0
  83. data/app/views/parts/modules/_nav_header.haml +18 -0
  84. data/app/views/parts/modules/_panels.haml +9 -0
  85. data/app/views/parts/modules/_tabs_minimal.haml +11 -0
  86. data/app/views/parts/modules/_tabs_simple_group.haml +11 -0
  87. data/app/views/parts/modules/_tabs_simple_group_toggle.haml +11 -0
  88. data/app/views/parts/modules/_tabs_toggle.haml +5 -0
  89. data/app/views/parts/modules/_tabs_traditional.haml +11 -0
  90. data/app/views/shared/_title.html.haml +8 -0
  91. data/app/views/shared/_ui_nav.html.haml +5 -0
  92. data/app/views/ui/typography.html.haml +86 -96
  93. data/lib/sb-styleguide.rb +1 -1
  94. data/lib/sb-styleguide/version.rb +1 -1
  95. data/lib/templates/haml/scaffold/_form.html.haml +8 -0
  96. data/public/javascripts/LICENSE.html +158 -0
  97. data/public/javascripts/README.md.html +164 -0
  98. data/public/javascripts/assets/codo.css +1 -0
  99. data/public/javascripts/assets/codo.js +21 -0
  100. data/public/javascripts/assets/search_data.js +1 -0
  101. data/public/javascripts/class_index.html +215 -0
  102. data/public/javascripts/class_list.html +58 -0
  103. data/public/javascripts/classes/Close.html +259 -0
  104. data/public/javascripts/classes/GAEvent.html +231 -0
  105. data/public/javascripts/classes/ResizeHandler.html +225 -0
  106. data/public/javascripts/classes/Switch.html +318 -0
  107. data/public/javascripts/classes/TBGForm.html +373 -0
  108. data/public/javascripts/extra_list.html +36 -0
  109. data/public/javascripts/file_list.html +74 -0
  110. data/public/javascripts/files/styleguide/plugins/tbg-close.js.coffee.html +160 -0
  111. data/public/javascripts/files/styleguide/plugins/tbg-forms.js.coffee.html +160 -0
  112. data/public/javascripts/files/styleguide/plugins/tbg-ga-events.js.coffee.html +160 -0
  113. data/public/javascripts/files/styleguide/plugins/tbg-respinsiveresize.js.coffee.html +160 -0
  114. data/public/javascripts/files/styleguide/plugins/tbg-switch.js.coffee.html +160 -0
  115. data/public/javascripts/index.html +14 -0
  116. data/public/javascripts/method_list.html +187 -0
  117. data/public/javascripts/mixin_list.html +28 -0
  118. data/vendor/assets/javascripts/styleguide/plugins/doc/assets/codo.css +1 -0
  119. data/vendor/assets/javascripts/styleguide/plugins/doc/assets/codo.js +21 -0
  120. data/vendor/assets/javascripts/styleguide/plugins/doc/assets/search_data.js +1 -0
  121. data/vendor/assets/javascripts/styleguide/plugins/doc/class_index.html +194 -0
  122. data/vendor/assets/javascripts/styleguide/plugins/doc/class_list.html +58 -0
  123. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/Close.html +215 -0
  124. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/GAEvent.html +235 -0
  125. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/ResizeHandler.html +192 -0
  126. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/Switch.html +233 -0
  127. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/TBGForm.html +318 -0
  128. data/vendor/assets/javascripts/styleguide/plugins/doc/extra_list.html +30 -0
  129. data/vendor/assets/javascripts/styleguide/plugins/doc/file_list.html +58 -0
  130. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-close.js.coffee.html +154 -0
  131. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-forms.js.coffee.html +154 -0
  132. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-ga-events.js.coffee.html +154 -0
  133. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-respinsiveresize.js.coffee.html +154 -0
  134. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-switch.js.coffee.html +154 -0
  135. data/vendor/assets/javascripts/styleguide/plugins/doc/index.html +14 -0
  136. data/vendor/assets/javascripts/styleguide/plugins/doc/method_list.html +163 -0
  137. data/vendor/assets/javascripts/styleguide/plugins/doc/mixin_list.html +28 -0
  138. data/vendor/assets/javascripts/styleguide/plugins/tbg-close.js.coffee +28 -4
  139. data/vendor/assets/javascripts/styleguide/plugins/tbg-forms.js.coffee +52 -5
  140. data/vendor/assets/javascripts/styleguide/plugins/tbg-ga-events.js.coffee +28 -8
  141. data/vendor/assets/javascripts/styleguide/plugins/tbg-respinsiveresize.js.coffee +21 -2
  142. data/vendor/assets/javascripts/styleguide/plugins/tbg-switch.js.coffee +37 -2
  143. data/vendor/assets/stylesheets/_mixins.css.scss +128 -35
  144. data/vendor/assets/stylesheets/_settings.css.scss +7 -4
  145. data/vendor/assets/stylesheets/styleguide/base/_labels.css.scss +22 -6
  146. data/vendor/assets/stylesheets/styleguide/base/_lists.css.scss +23 -18
  147. data/vendor/assets/stylesheets/styleguide/base/_type.css.scss +11 -5
  148. data/vendor/assets/stylesheets/styleguide/grid/_grid.css.scss +9 -9
  149. data/vendor/assets/stylesheets/styleguide/modules/_switch.css.scss +32 -16
  150. metadata +134 -18
  151. data/.rvmrc +0 -1
  152. data/app/helpers/application_helper.rb +0 -13
  153. data/app/helpers/javascripts_helper.rb +0 -2
  154. data/app/helpers/ui_helper.rb +0 -2
  155. data/app/mailers/.gitkeep +0 -0
  156. data/app/models/.gitkeep +0 -0
  157. data/app/views/javascripts/_js_nav.html.haml +0 -5
  158. data/app/views/javascripts/index.html.haml +0 -45
  159. data/app/views/type/_headings.haml +0 -6
  160. data/app/views/type/_paragraphs.haml +0 -4
  161. data/app/views/ui/_ui_nav.html.haml +0 -13
  162. data/vendor/assets/stylesheets/styleguide/layout/_all.css.scss +0 -5
  163. data/vendor/plugins/.gitkeep +0 -0
@@ -0,0 +1,235 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset='UTF-8'>
5
+ <title>CoffeeScript API 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='../class_index.html' title='Index'>Index</a>
15
+ &raquo;
16
+ <span class='title'>GAEvent</span>
17
+ <nav>
18
+ <ul>
19
+ <li class='noframes'>
20
+ (<a class='noframes' href='#'>no frames</a>)
21
+ </li>
22
+ </ul>
23
+ </nav>
24
+ <div id='search'>
25
+ <a id='class_list_link' href='../class_list.html'>Classes</a>
26
+ <a id='file_list_link' href='../file_list.html'>Files</a>
27
+ <a id='method_list_link' href='../method_list.html'>Methods</a>
28
+ <a id='extra_list_link' href='../extra_list.html'>Extras</a>
29
+ </div>
30
+ </div>
31
+ <iframe id='search_frame'></iframe>
32
+ <div id='fuzzySearch'>
33
+ <input type='text'>
34
+ <ol></ol>
35
+ </div>
36
+ <div id='help'>
37
+ <p>
38
+ Quickly fuzzy find classes, mixins, methods, file:
39
+ </p>
40
+ <ul>
41
+ <li>
42
+ <span>Ctrl-T</span>
43
+ Open fuzzy finder dialog
44
+ </li>
45
+ </ul>
46
+ <p>
47
+ In frame mode you can toggle the list naviation frame on the left side:
48
+ </p>
49
+ <ul>
50
+ <li>
51
+ <span>Ctrl-L</span>
52
+ Toggle list view
53
+ </li>
54
+ </ul>
55
+ <p>
56
+ You can focus a list in frame mode or toggle a tab in frameless mode:
57
+ </p>
58
+ <ul>
59
+ <li>
60
+ <span>Ctrl-C</span>
61
+ Class list
62
+ </li>
63
+ <li>
64
+ <span>Ctrl-I</span>
65
+ Mixin list
66
+ </li>
67
+ <li>
68
+ <span>Ctrl-F</span>
69
+ File list
70
+ </li>
71
+ <li>
72
+ <span>Ctrl-M</span>
73
+ Method list
74
+ </li>
75
+ <li>
76
+ <span>Ctrl-E</span>
77
+ Extras list
78
+ </li>
79
+ </ul>
80
+ <p>
81
+ You can focus and blur the search input:
82
+ </p>
83
+ <ul>
84
+ <li>
85
+ <span>Ctrl-S</span>
86
+ Focus search input
87
+ </li>
88
+ <li>
89
+ <span>Esc</span>
90
+ Blur search input
91
+ </li>
92
+ </ul>
93
+ <p>
94
+ In frameless mode you can close the list tab:
95
+ </p>
96
+ <ul>
97
+ <li>
98
+ <span>Esc</span>
99
+ Close list tab
100
+ </li>
101
+ </ul>
102
+ </div>
103
+ </div>
104
+ <div id='content'>
105
+ <h1>
106
+ Class:
107
+ GAEvent
108
+ </h1>
109
+ <table class='box'>
110
+ <tr>
111
+ <td>Defined in:</td>
112
+ <td>tbg-ga-events.js.coffee</td>
113
+ </tr>
114
+ </table>
115
+ <h2>Overview</h2>
116
+ <div class='docstring'>
117
+ <p>GAEVENT CLASS DEFINITION</p><p>%a{ :href =&gt; &#39;#clickyclick&#39;, :class =&gt; &#39;btn&#39;, :data =&gt; { :gaevent =&gt; &#39;category|action|opt_label|opt_value|opt_noninteraction&#39; } }</p><h1>See: <a href="https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide">https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide</a></h1>
118
+
119
+ <div class='examples'>
120
+ <h3>Examples:</h3>
121
+ <h4>
122
+ How to use the class
123
+ </h4>
124
+ <pre><code class='coffee'>gaEventInstance = new GAEvent $(&#39;.my-element&#39;)
125
+ # Send form
126
+ formInstance.send()</code></pre>
127
+ <h4>
128
+ How to use the class with jQuery
129
+ </h4>
130
+ <pre><code class='coffee'>$(&#39;.my-element&#39;).send()</code></pre>
131
+ <h4>
132
+ How to ensure plugin self initialises on element
133
+ </h4>
134
+ <pre><code class='coffee'>&lt;form data-forms=&quot;&#47;endpoint&quot;&gt; ... &lt;&#47;form&gt;</code></pre>
135
+ </div>
136
+ </div>
137
+ <div class='tags'>
138
+ </div>
139
+ <h2>Instance Method Summary</h2>
140
+ <ul class='summary'>
141
+ <li>
142
+ <span class='signature'>
143
+ <a href='#constructor-instance'>
144
+ - (void) <strong>constructor</strong>(element, eventcontent)
145
+ </a>
146
+ </span>
147
+ <span class='constructor note title'>Constructor</span>
148
+ <span class='desc'>
149
+ Construct a GAEvent instance
150
+ </span>
151
+ </li>
152
+ <li>
153
+ <span class='signature'>
154
+ <a href='#sendEvent-instance'>
155
+ - (void) <strong>sendEvent</strong>(data)
156
+ </a>
157
+ </span>
158
+ <span class='desc'>
159
+ Send the event
160
+ </span>
161
+ </li>
162
+ </ul>
163
+ <h2>Constructor Details</h2>
164
+ <div class='methods'>
165
+ <div class='method_details'>
166
+ <p class='signature' id='constructor-instance'>
167
+ - (void) <strong>constructor</strong>(element, eventcontent)
168
+ </p>
169
+ <div class='docstring'>
170
+ <p>Construct a GAEvent instance</p>
171
+ </div>
172
+ <div class='tags'>
173
+ <h3>Parameters:</h3>
174
+ <ul class='param'>
175
+ <li>
176
+ <span class='name'>element</span>
177
+ <span class='type'>
178
+ (<tt>Object</tt>)
179
+ </span>
180
+ &mdash;
181
+ <span class='desc'>HTMLElement</span>
182
+ </li>
183
+ <li>
184
+ <span class='name'>array</span>
185
+ <span class='type'>
186
+ (<tt>Object</tt>)
187
+ </span>
188
+ &mdash;
189
+ <span class='desc'>Array</span>
190
+ </li>
191
+ </ul>
192
+ </div>
193
+ </div>
194
+ </div>
195
+ <h2>Instance Method Details</h2>
196
+ <div class='methods'>
197
+ <div class='method_details'>
198
+ <p class='signature' id='sendEvent-instance'>
199
+ - (void) <strong>sendEvent</strong>(data)
200
+ </p>
201
+ <div class='docstring'>
202
+ <p>Send the event</p>
203
+ </div>
204
+ <div class='tags'>
205
+ <h3>Parameters:</h3>
206
+ <ul class='param'>
207
+ <li>
208
+ <span class='name'>array</span>
209
+ <span class='type'>
210
+ (<tt>Object</tt>)
211
+ </span>
212
+ &mdash;
213
+ <span class='desc'>If Google Analytics _gaq array defined push data</span>
214
+ </li>
215
+ </ul>
216
+ </div>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ <div id='footer'>
221
+ Generated on
222
+ Wed Mar 13 2013 11:03:06 GMT+0000 (GMT)
223
+ by
224
+ <a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
225
+ v1.5.6
226
+ (Node.js v0.8.8).
227
+ &#10034;
228
+ Press Ctrl-h to see the keyboard shortcuts
229
+ &#10034;
230
+ <a href='http://twitter.com/#!/netzpirat'>@netzpirat</a>
231
+ &#10034;
232
+ <a href='https://mksoft.ch'>mksoft.ch</a>
233
+ </div>
234
+ </body>
235
+ </html>
@@ -0,0 +1,192 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset='UTF-8'>
5
+ <title>CoffeeScript API 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='../class_index.html' title='Index'>Index</a>
15
+ &raquo;
16
+ <span class='title'>ResizeHandler</span>
17
+ <nav>
18
+ <ul>
19
+ <li class='noframes'>
20
+ (<a class='noframes' href='#'>no frames</a>)
21
+ </li>
22
+ </ul>
23
+ </nav>
24
+ <div id='search'>
25
+ <a id='class_list_link' href='../class_list.html'>Classes</a>
26
+ <a id='file_list_link' href='../file_list.html'>Files</a>
27
+ <a id='method_list_link' href='../method_list.html'>Methods</a>
28
+ <a id='extra_list_link' href='../extra_list.html'>Extras</a>
29
+ </div>
30
+ </div>
31
+ <iframe id='search_frame'></iframe>
32
+ <div id='fuzzySearch'>
33
+ <input type='text'>
34
+ <ol></ol>
35
+ </div>
36
+ <div id='help'>
37
+ <p>
38
+ Quickly fuzzy find classes, mixins, methods, file:
39
+ </p>
40
+ <ul>
41
+ <li>
42
+ <span>Ctrl-T</span>
43
+ Open fuzzy finder dialog
44
+ </li>
45
+ </ul>
46
+ <p>
47
+ In frame mode you can toggle the list naviation frame on the left side:
48
+ </p>
49
+ <ul>
50
+ <li>
51
+ <span>Ctrl-L</span>
52
+ Toggle list view
53
+ </li>
54
+ </ul>
55
+ <p>
56
+ You can focus a list in frame mode or toggle a tab in frameless mode:
57
+ </p>
58
+ <ul>
59
+ <li>
60
+ <span>Ctrl-C</span>
61
+ Class list
62
+ </li>
63
+ <li>
64
+ <span>Ctrl-I</span>
65
+ Mixin list
66
+ </li>
67
+ <li>
68
+ <span>Ctrl-F</span>
69
+ File list
70
+ </li>
71
+ <li>
72
+ <span>Ctrl-M</span>
73
+ Method list
74
+ </li>
75
+ <li>
76
+ <span>Ctrl-E</span>
77
+ Extras list
78
+ </li>
79
+ </ul>
80
+ <p>
81
+ You can focus and blur the search input:
82
+ </p>
83
+ <ul>
84
+ <li>
85
+ <span>Ctrl-S</span>
86
+ Focus search input
87
+ </li>
88
+ <li>
89
+ <span>Esc</span>
90
+ Blur search input
91
+ </li>
92
+ </ul>
93
+ <p>
94
+ In frameless mode you can close the list tab:
95
+ </p>
96
+ <ul>
97
+ <li>
98
+ <span>Esc</span>
99
+ Close list tab
100
+ </li>
101
+ </ul>
102
+ </div>
103
+ </div>
104
+ <div id='content'>
105
+ <h1>
106
+ Class:
107
+ ResizeHandler
108
+ </h1>
109
+ <table class='box'>
110
+ <tr>
111
+ <td>Defined in:</td>
112
+ <td>tbg-respinsiveresize.js.coffee</td>
113
+ </tr>
114
+ </table>
115
+ <h2>Instance Method Summary</h2>
116
+ <ul class='summary'>
117
+ <li>
118
+ <span class='signature'>
119
+ <a href='#constructor-instance'>
120
+ - (void) <strong>constructor</strong>()
121
+ </a>
122
+ </span>
123
+ <span class='constructor note title'>Constructor</span>
124
+ <span class='desc'>
125
+
126
+ </span>
127
+ </li>
128
+ <li>
129
+ <span class='signature'>
130
+ <a href='#resize-instance'>
131
+ - (void) <strong>resize</strong>()
132
+ </a>
133
+ </span>
134
+ <span class='desc'>
135
+
136
+ </span>
137
+ </li>
138
+ <li>
139
+ <span class='signature'>
140
+ <a href='#size-instance'>
141
+ - (void) <strong>size</strong>()
142
+ </a>
143
+ </span>
144
+ <span class='desc'>
145
+
146
+ </span>
147
+ </li>
148
+ </ul>
149
+ <h2>Constructor Details</h2>
150
+ <div class='methods'>
151
+ <div class='method_details'>
152
+ <p class='signature' id='constructor-instance'>
153
+ - (void) <strong>constructor</strong>()
154
+ </p>
155
+ <div class='tags'>
156
+ </div>
157
+ </div>
158
+ </div>
159
+ <h2>Instance Method Details</h2>
160
+ <div class='methods'>
161
+ <div class='method_details'>
162
+ <p class='signature' id='resize-instance'>
163
+ - (void) <strong>resize</strong>()
164
+ </p>
165
+ <div class='tags'>
166
+ </div>
167
+ </div>
168
+ <div class='method_details'>
169
+ <p class='signature' id='size-instance'>
170
+ - (void) <strong>size</strong>()
171
+ </p>
172
+ <div class='tags'>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </div>
177
+ <div id='footer'>
178
+ Generated on
179
+ Wed Mar 13 2013 11:03:06 GMT+0000 (GMT)
180
+ by
181
+ <a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
182
+ v1.5.6
183
+ (Node.js v0.8.8).
184
+ &#10034;
185
+ Press Ctrl-h to see the keyboard shortcuts
186
+ &#10034;
187
+ <a href='http://twitter.com/#!/netzpirat'>@netzpirat</a>
188
+ &#10034;
189
+ <a href='https://mksoft.ch'>mksoft.ch</a>
190
+ </div>
191
+ </body>
192
+ </html>
@@ -0,0 +1,233 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset='UTF-8'>
5
+ <title>CoffeeScript API 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='../class_index.html' title='Index'>Index</a>
15
+ &raquo;
16
+ <span class='title'>Switch</span>
17
+ <nav>
18
+ <ul>
19
+ <li class='noframes'>
20
+ (<a class='noframes' href='#'>no frames</a>)
21
+ </li>
22
+ </ul>
23
+ </nav>
24
+ <div id='search'>
25
+ <a id='class_list_link' href='../class_list.html'>Classes</a>
26
+ <a id='file_list_link' href='../file_list.html'>Files</a>
27
+ <a id='method_list_link' href='../method_list.html'>Methods</a>
28
+ <a id='extra_list_link' href='../extra_list.html'>Extras</a>
29
+ </div>
30
+ </div>
31
+ <iframe id='search_frame'></iframe>
32
+ <div id='fuzzySearch'>
33
+ <input type='text'>
34
+ <ol></ol>
35
+ </div>
36
+ <div id='help'>
37
+ <p>
38
+ Quickly fuzzy find classes, mixins, methods, file:
39
+ </p>
40
+ <ul>
41
+ <li>
42
+ <span>Ctrl-T</span>
43
+ Open fuzzy finder dialog
44
+ </li>
45
+ </ul>
46
+ <p>
47
+ In frame mode you can toggle the list naviation frame on the left side:
48
+ </p>
49
+ <ul>
50
+ <li>
51
+ <span>Ctrl-L</span>
52
+ Toggle list view
53
+ </li>
54
+ </ul>
55
+ <p>
56
+ You can focus a list in frame mode or toggle a tab in frameless mode:
57
+ </p>
58
+ <ul>
59
+ <li>
60
+ <span>Ctrl-C</span>
61
+ Class list
62
+ </li>
63
+ <li>
64
+ <span>Ctrl-I</span>
65
+ Mixin list
66
+ </li>
67
+ <li>
68
+ <span>Ctrl-F</span>
69
+ File list
70
+ </li>
71
+ <li>
72
+ <span>Ctrl-M</span>
73
+ Method list
74
+ </li>
75
+ <li>
76
+ <span>Ctrl-E</span>
77
+ Extras list
78
+ </li>
79
+ </ul>
80
+ <p>
81
+ You can focus and blur the search input:
82
+ </p>
83
+ <ul>
84
+ <li>
85
+ <span>Ctrl-S</span>
86
+ Focus search input
87
+ </li>
88
+ <li>
89
+ <span>Esc</span>
90
+ Blur search input
91
+ </li>
92
+ </ul>
93
+ <p>
94
+ In frameless mode you can close the list tab:
95
+ </p>
96
+ <ul>
97
+ <li>
98
+ <span>Esc</span>
99
+ Close list tab
100
+ </li>
101
+ </ul>
102
+ </div>
103
+ </div>
104
+ <div id='content'>
105
+ <h1>
106
+ Class:
107
+ Switch
108
+ </h1>
109
+ <table class='box'>
110
+ <tr>
111
+ <td>Defined in:</td>
112
+ <td>tbg-switch.js.coffee</td>
113
+ </tr>
114
+ </table>
115
+ <h2>Overview</h2>
116
+ <div class='docstring'>
117
+ <h1>SWITCH CLASS DEFINITION</h1>
118
+
119
+ </div>
120
+ <div class='tags'>
121
+ </div>
122
+ <h2>Instance Method Summary</h2>
123
+ <ul class='summary'>
124
+ <li>
125
+ <span class='signature'>
126
+ <a href='#constructor-instance'>
127
+ - (void) <strong>constructor</strong>(el)
128
+ </a>
129
+ </span>
130
+ <span class='constructor note title'>Constructor</span>
131
+ <span class='desc'>
132
+
133
+ </span>
134
+ </li>
135
+ <li>
136
+ <span class='signature'>
137
+ <a href='#click-instance'>
138
+ - (void) <strong>click</strong>()
139
+ </a>
140
+ </span>
141
+ <span class='desc'>
142
+
143
+ </span>
144
+ </li>
145
+ <li>
146
+ <span class='signature'>
147
+ <a href='#changeStateTo-instance'>
148
+ - (void) <strong>changeStateTo</strong>(action, elements)
149
+ </a>
150
+ </span>
151
+ <span class='desc'>
152
+
153
+ </span>
154
+ </li>
155
+ <li>
156
+ <span class='signature'>
157
+ <a href='#_closeGroup-instance'>
158
+ - (void) <strong>_closeGroup</strong>()
159
+ </a>
160
+ </span>
161
+ <span class='desc'>
162
+
163
+ </span>
164
+ </li>
165
+ <li>
166
+ <span class='signature'>
167
+ <a href='#_getContent-instance'>
168
+ - (void) <strong>_getContent</strong>(el)
169
+ </a>
170
+ </span>
171
+ <span class='desc'>
172
+
173
+ </span>
174
+ </li>
175
+ </ul>
176
+ <h2>Constructor Details</h2>
177
+ <div class='methods'>
178
+ <div class='method_details'>
179
+ <p class='signature' id='constructor-instance'>
180
+ - (void) <strong>constructor</strong>(el)
181
+ </p>
182
+ <div class='tags'>
183
+ </div>
184
+ </div>
185
+ </div>
186
+ <h2>Instance Method Details</h2>
187
+ <div class='methods'>
188
+ <div class='method_details'>
189
+ <p class='signature' id='click-instance'>
190
+ - (void) <strong>click</strong>()
191
+ </p>
192
+ <div class='tags'>
193
+ </div>
194
+ </div>
195
+ <div class='method_details'>
196
+ <p class='signature' id='changeStateTo-instance'>
197
+ - (void) <strong>changeStateTo</strong>(action, elements)
198
+ </p>
199
+ <div class='tags'>
200
+ </div>
201
+ </div>
202
+ <div class='method_details'>
203
+ <p class='signature' id='_closeGroup-instance'>
204
+ - (void) <strong>_closeGroup</strong>()
205
+ </p>
206
+ <div class='tags'>
207
+ </div>
208
+ </div>
209
+ <div class='method_details'>
210
+ <p class='signature' id='_getContent-instance'>
211
+ - (void) <strong>_getContent</strong>(el)
212
+ </p>
213
+ <div class='tags'>
214
+ </div>
215
+ </div>
216
+ </div>
217
+ </div>
218
+ <div id='footer'>
219
+ Generated on
220
+ Wed Mar 13 2013 11:03:06 GMT+0000 (GMT)
221
+ by
222
+ <a href='https://github.com/netzpirat/codo' title='CoffeeScript API documentation generator'>Codo</a>
223
+ v1.5.6
224
+ (Node.js v0.8.8).
225
+ &#10034;
226
+ Press Ctrl-h to see the keyboard shortcuts
227
+ &#10034;
228
+ <a href='http://twitter.com/#!/netzpirat'>@netzpirat</a>
229
+ &#10034;
230
+ <a href='https://mksoft.ch'>mksoft.ch</a>
231
+ </div>
232
+ </body>
233
+ </html>