bivouac 0.1.5 → 0.1.6
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.
- data/README +6 -0
- data/bin/bivouac +1 -1
- data/doc/rdoc/classes/BivouacHelpers/BaseView.html +10 -10
- data/doc/rdoc/classes/BivouacHelpers/FormView.html +26 -26
- data/doc/rdoc/classes/BivouacHelpers/HtmlView.html +18 -18
- data/doc/rdoc/classes/BivouacHelpers/JavaScriptView.html +34 -34
- data/doc/rdoc/classes/BivouacHelpers/ScriptAculoUsView.html +15 -15
- data/doc/rdoc/classes/BivouacHelpers/{TooltipView.html → SoundView.html} +59 -38
- data/doc/rdoc/classes/BivouacHelpers.html +3 -3
- data/doc/rdoc/classes/JavaScriptGenerator.html +2 -2
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/AUTHORS.html +2 -2
- data/doc/rdoc/files/COPYING.html +2 -2
- data/doc/rdoc/files/README.html +18 -3
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/base_rb.html +2 -2
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/form_rb.html +2 -2
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/html_rb.html +3 -3
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/javascript_rb.html +2 -2
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html +2 -2
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/{tooltip_rb.html → sound_rb.html} +7 -7
- data/lib/bivouac/helpers/view/goh/html.rb +1 -1
- data/lib/bivouac/template/Rakefile.rb +13 -0
- data/lib/bivouac/template/application/helpers_goh.rb +0 -2
- metadata +5 -7
- data/lib/bivouac/helpers/view/goh/tooltip.rb +0 -33
- data/lib/bivouac/template/static/tooltip.js +0 -208
data/README
CHANGED
@@ -12,6 +12,12 @@ Bivouac is a simple generator for camping[http://code.whytheluckystiff.net/campi
|
|
12
12
|
|
13
13
|
== FEATURES/PROBLEMS:
|
14
14
|
|
15
|
+
=== 0.1.6:
|
16
|
+
* Plugins now support Rake tasks
|
17
|
+
* Add plugin:list task
|
18
|
+
* Tooltip is no longer in Bivouac Core, it's a plugin
|
19
|
+
* iUI's Tent Plugin (alpha)
|
20
|
+
|
15
21
|
=== 0.1.5:
|
16
22
|
* Upgrade prototype (1.6.0.2)
|
17
23
|
* Upgrade Script.aculo.us (1.8.1)
|
data/bin/bivouac
CHANGED
@@ -155,7 +155,7 @@ createFile( "#{@conf.appdir}/Rakefile", true ) { |io|
|
|
155
155
|
|
156
156
|
copyTemplate( "static/index.html", "#{@conf.appdir}/public" )
|
157
157
|
copyTemplate( "static/camping.png", "#{@conf.appdir}/public/images" )
|
158
|
-
%w{builder.js dragdrop.js prototype.js slider.js unittest.js controls.js effects.js sound.js scriptaculous.js
|
158
|
+
%w{builder.js dragdrop.js prototype.js slider.js unittest.js controls.js effects.js sound.js scriptaculous.js}.each do |f|
|
159
159
|
copyTemplate( "static/#{f}", "#{@conf.appdir}/public/javascripts" )
|
160
160
|
end
|
161
161
|
copyTemplate( "static/autocomplete.css", "#{@conf.appdir}/public/stylesheets" )
|
@@ -66,13 +66,13 @@
|
|
66
66
|
"<a href="../../files/lib/bivouac/helpers/view/goh/base_rb.html" value="File: base.rb">lib/bivouac/helpers/view/goh/base.rb</a>",
|
67
67
|
"<a href="../../files/lib/bivouac/helpers/view/goh/form_rb.html" value="File: form.rb">lib/bivouac/helpers/view/goh/form.rb</a>",
|
68
68
|
"<a href="../../files/lib/bivouac/helpers/view/goh/html_rb.html" value="File: html.rb">lib/bivouac/helpers/view/goh/html.rb</a>",
|
69
|
-
"<a href="../../files/lib/bivouac/helpers/view/goh/
|
69
|
+
"<a href="../../files/lib/bivouac/helpers/view/goh/sound_rb.html" value="File: sound.rb">lib/bivouac/helpers/view/goh/sound.rb</a>",
|
70
70
|
"<a href="../../files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html" value="File: scriptaculous.rb">lib/bivouac/helpers/view/goh/scriptaculous.rb</a>",
|
71
71
|
"<a href="../../files/lib/bivouac/helpers/view/goh/javascript_rb.html" value="File: javascript.rb">lib/bivouac/helpers/view/goh/javascript.rb</a>",
|
72
72
|
<a href="http://greg.rubyfr.net">nil</a>].each do<br />
|
73
73
|
<a href="../../classes/JavaScriptGenerator.html" title="Class: JavaScriptGenerator">JavaScriptGenerator</a>.view_html<br />
|
74
74
|
<a href="../../classes/BivouacHelpers.html" title="Module: BivouacHelpers">BivouacHelpers</a>.view_html<br />
|
75
|
-
<a href="../../classes/BivouacHelpers/
|
75
|
+
<a href="../../classes/BivouacHelpers/SoundView.html" title="Module: BivouacHelpers::SoundView">BivouacHelpers::SoundView</a>.view_html<br />
|
76
76
|
<a href="../../classes/BivouacHelpers/ScriptAculoUsView.html" title="Module: BivouacHelpers::ScriptAculoUsView">BivouacHelpers::ScriptAculoUsView</a>.view_html<br />
|
77
77
|
<a href="../../classes/BivouacHelpers/BaseView.html" title="Module: BivouacHelpers::BaseView">BivouacHelpers::BaseView</a>.view_html<br />
|
78
78
|
<a href="../../classes/BivouacHelpers/JavaScriptView.html" title="Module: BivouacHelpers::JavaScriptView">BivouacHelpers::JavaScriptView</a>.view_html<br />
|
@@ -103,14 +103,14 @@ bivouac/helpers/view/html
|
|
103
103
|
|
104
104
|
<h2 class="ruled">Methods</h2>
|
105
105
|
<h4 class="ruled">Public Instance method:
|
106
|
-
<strong><a name="
|
106
|
+
<strong><a name="M000029">partial( partial, options = {} )</a></strong> <a href="#M000029"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: partial" /></a></h4>
|
107
107
|
|
108
108
|
<p>
|
109
|
-
Alias for <a href="BaseView.html#
|
109
|
+
Alias for <a href="BaseView.html#M000028">render</a>
|
110
110
|
</p>
|
111
111
|
|
112
112
|
<h4 class="ruled">Public Instance method:
|
113
|
-
<strong><a name="
|
113
|
+
<strong><a name="M000030">public_to_str( file )</a></strong> <a href="#M000030"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: public_to_str" /></a></h4>
|
114
114
|
|
115
115
|
<p>
|
116
116
|
Return the content of a public file as string
|
@@ -121,8 +121,8 @@ Return the content of a public file as string
|
|
121
121
|
</pre>
|
122
122
|
|
123
123
|
<div class="sourcecode">
|
124
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
125
|
-
<div id="
|
124
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p>
|
125
|
+
<div id="M000030_source" class="dyn-source">
|
126
126
|
<pre>
|
127
127
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/base.rb, line 22</span>
|
128
128
|
22: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">public_to_str</span>( <span class="ruby-identifier">file</span> )
|
@@ -141,7 +141,7 @@ Return the content of a public file as string
|
|
141
141
|
</div>
|
142
142
|
</div>
|
143
143
|
<h4 class="ruled">Public Instance method:
|
144
|
-
<strong><a name="
|
144
|
+
<strong><a name="M000028">render( partial, options = {} )</a></strong> <a href="#M000028"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: render" /></a></h4>
|
145
145
|
|
146
146
|
<pre>
|
147
147
|
render( :hello, :object => @my_object )
|
@@ -155,8 +155,8 @@ is equivalent to
|
|
155
155
|
</pre>
|
156
156
|
|
157
157
|
<div class="sourcecode">
|
158
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
159
|
-
<div id="
|
158
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p>
|
159
|
+
<div id="M000028_source" class="dyn-source">
|
160
160
|
<pre>
|
161
161
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/base.rb, line 9</span>
|
162
162
|
9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render</span>( <span class="ruby-identifier">partial</span>, <span class="ruby-identifier">options</span> = {} )
|
@@ -66,13 +66,13 @@
|
|
66
66
|
"<a href="../../files/lib/bivouac/helpers/view/goh/base_rb.html" value="File: base.rb">lib/bivouac/helpers/view/goh/base.rb</a>",
|
67
67
|
"<a href="../../files/lib/bivouac/helpers/view/goh/form_rb.html" value="File: form.rb">lib/bivouac/helpers/view/goh/form.rb</a>",
|
68
68
|
"<a href="../../files/lib/bivouac/helpers/view/goh/html_rb.html" value="File: html.rb">lib/bivouac/helpers/view/goh/html.rb</a>",
|
69
|
-
"<a href="../../files/lib/bivouac/helpers/view/goh/
|
69
|
+
"<a href="../../files/lib/bivouac/helpers/view/goh/sound_rb.html" value="File: sound.rb">lib/bivouac/helpers/view/goh/sound.rb</a>",
|
70
70
|
"<a href="../../files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html" value="File: scriptaculous.rb">lib/bivouac/helpers/view/goh/scriptaculous.rb</a>",
|
71
71
|
"<a href="../../files/lib/bivouac/helpers/view/goh/javascript_rb.html" value="File: javascript.rb">lib/bivouac/helpers/view/goh/javascript.rb</a>",
|
72
72
|
<a href="http://greg.rubyfr.net">nil</a>].each do<br />
|
73
73
|
<a href="../../classes/JavaScriptGenerator.html" title="Class: JavaScriptGenerator">JavaScriptGenerator</a>.view_html<br />
|
74
74
|
<a href="../../classes/BivouacHelpers.html" title="Module: BivouacHelpers">BivouacHelpers</a>.view_html<br />
|
75
|
-
<a href="../../classes/BivouacHelpers/
|
75
|
+
<a href="../../classes/BivouacHelpers/SoundView.html" title="Module: BivouacHelpers::SoundView">BivouacHelpers::SoundView</a>.view_html<br />
|
76
76
|
<a href="../../classes/BivouacHelpers/ScriptAculoUsView.html" title="Module: BivouacHelpers::ScriptAculoUsView">BivouacHelpers::ScriptAculoUsView</a>.view_html<br />
|
77
77
|
<a href="../../classes/BivouacHelpers/BaseView.html" title="Module: BivouacHelpers::BaseView">BivouacHelpers::BaseView</a>.view_html<br />
|
78
78
|
<a href="../../classes/BivouacHelpers/JavaScriptView.html" title="Module: BivouacHelpers::JavaScriptView">BivouacHelpers::JavaScriptView</a>.view_html<br />
|
@@ -103,7 +103,7 @@ bivouac/helpers/view/html
|
|
103
103
|
|
104
104
|
<h2 class="ruled">Methods</h2>
|
105
105
|
<h4 class="ruled">Public Instance method:
|
106
|
-
<strong><a name="
|
106
|
+
<strong><a name="M000045">auto_complete_field( field_id, options = nil )</a></strong> <a href="#M000045"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: auto_complete_field" /></a></h4>
|
107
107
|
|
108
108
|
<p>
|
109
109
|
Adds AJAX autocomplete functionality to the text input field with the DOM
|
@@ -111,8 +111,8 @@ ID specified by <tt>field_id</tt>.
|
|
111
111
|
</p>
|
112
112
|
|
113
113
|
<div class="sourcecode">
|
114
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
115
|
-
<div id="
|
114
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p>
|
115
|
+
<div id="M000045_source" class="dyn-source">
|
116
116
|
<pre>
|
117
117
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/form.rb, line 6</span>
|
118
118
|
6: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">auto_complete_field</span>( <span class="ruby-identifier">field_id</span>, <span class="ruby-identifier">options</span> = <span class="ruby-keyword kw">nil</span> )
|
@@ -131,7 +131,7 @@ ID specified by <tt>field_id</tt>.
|
|
131
131
|
</div>
|
132
132
|
</div>
|
133
133
|
<h4 class="ruled">Public Instance method:
|
134
|
-
<strong><a name="
|
134
|
+
<strong><a name="M000047">button_to_function(name, *args, &block)</a></strong> <a href="#M000047"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: button_to_function" /></a></h4>
|
135
135
|
|
136
136
|
<p>
|
137
137
|
Returns a button that‘ll trigger a JavaScript function using the
|
@@ -144,8 +144,8 @@ making an Ajax request first).
|
|
144
144
|
</p>
|
145
145
|
|
146
146
|
<div class="sourcecode">
|
147
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
148
|
-
<div id="
|
147
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p>
|
148
|
+
<div id="M000047_source" class="dyn-source">
|
149
149
|
<pre>
|
150
150
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/form.rb, line 63</span>
|
151
151
|
63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">button_to_function</span>(<span class="ruby-identifier">name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -163,7 +163,7 @@ making an Ajax request first).
|
|
163
163
|
</div>
|
164
164
|
</div>
|
165
165
|
<h4 class="ruled">Public Instance method:
|
166
|
-
<strong><a name="
|
166
|
+
<strong><a name="M000050">form_remote_tag(options = {}, &block)</a></strong> <a href="#M000050"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: form_remote_tag" /></a></h4>
|
167
167
|
|
168
168
|
<p>
|
169
169
|
Returns a form tag that will submit using XMLHttpRequest in the background
|
@@ -185,15 +185,15 @@ Example:
|
|
185
185
|
</pre>
|
186
186
|
<p>
|
187
187
|
The Hash passed to the :html key is equivalent to the options (2nd)
|
188
|
-
argument in the <a href="FormView.html#
|
188
|
+
argument in the <a href="FormView.html#M000049">form_tag</a> method.
|
189
189
|
</p>
|
190
190
|
<p>
|
191
191
|
By default the fall-through action is the same as the one specified in the
|
192
192
|
:url (and the default method is :post).
|
193
193
|
</p>
|
194
194
|
<p>
|
195
|
-
<a href="FormView.html#
|
196
|
-
href="FormView.html#
|
195
|
+
<a href="FormView.html#M000050">form_remote_tag</a> takes a block, like <a
|
196
|
+
href="FormView.html#M000049">form_tag</a>:
|
197
197
|
</p>
|
198
198
|
<pre>
|
199
199
|
form_remote_tag :url => '/posts' do
|
@@ -202,8 +202,8 @@ href="FormView.html#M000047">form_tag</a>:
|
|
202
202
|
</pre>
|
203
203
|
|
204
204
|
<div class="sourcecode">
|
205
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
206
|
-
<div id="
|
205
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p>
|
206
|
+
<div id="M000050_source" class="dyn-source">
|
207
207
|
<pre>
|
208
208
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/form.rb, line 159</span>
|
209
209
|
159: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">form_remote_tag</span>(<span class="ruby-identifier">options</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -220,7 +220,7 @@ href="FormView.html#M000047">form_tag</a>:
|
|
220
220
|
</div>
|
221
221
|
</div>
|
222
222
|
<h4 class="ruled">Public Instance method:
|
223
|
-
<strong><a name="
|
223
|
+
<strong><a name="M000049">form_tag(url, options = {}) {|| ...}</a></strong> <a href="#M000049"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: form_tag" /></a></h4>
|
224
224
|
|
225
225
|
<p>
|
226
226
|
Starts a form tag that points the action to an url. The method for the form
|
@@ -230,11 +230,11 @@ defaults to POST.
|
|
230
230
|
Examples:
|
231
231
|
</p>
|
232
232
|
<ul>
|
233
|
-
<li><tt><a href="FormView.html#
|
233
|
+
<li><tt><a href="FormView.html#M000049">form_tag</a>(’/posts’)
|
234
234
|
=> <form action="/posts" method="post"></tt>
|
235
235
|
|
236
236
|
</li>
|
237
|
-
<li><tt><a href="FormView.html#
|
237
|
+
<li><tt><a href="FormView.html#M000049">form_tag</a>(’/upload’,
|
238
238
|
:multipart => true) => <form action="/upload"
|
239
239
|
method="post" enctype="multipart/form-data"></tt>
|
240
240
|
|
@@ -273,8 +273,8 @@ either "get" or "post".
|
|
273
273
|
</ul>
|
274
274
|
|
275
275
|
<div class="sourcecode">
|
276
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
277
|
-
<div id="
|
276
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p>
|
277
|
+
<div id="M000049_source" class="dyn-source">
|
278
278
|
<pre>
|
279
279
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/form.rb, line 109</span>
|
280
280
|
109: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">form_tag</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">options</span> = {}, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -306,18 +306,18 @@ either "get" or "post".
|
|
306
306
|
</div>
|
307
307
|
</div>
|
308
308
|
<h4 class="ruled">Public Instance method:
|
309
|
-
<strong><a name="
|
309
|
+
<strong><a name="M000048">submit_to_remote(name, value, options = {})</a></strong> <a href="#M000048"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: submit_to_remote" /></a></h4>
|
310
310
|
|
311
311
|
<p>
|
312
312
|
Returns a button input tag that will submit form using XMLHttpRequest in
|
313
313
|
the background instead of regular reloading POST arrangement.
|
314
314
|
<tt>options</tt> argument is the same as in <tt><a
|
315
|
-
href="FormView.html#
|
315
|
+
href="FormView.html#M000050">form_remote_tag</a></tt>.
|
316
316
|
</p>
|
317
317
|
|
318
318
|
<div class="sourcecode">
|
319
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
320
|
-
<div id="
|
319
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p>
|
320
|
+
<div id="M000048_source" class="dyn-source">
|
321
321
|
<pre>
|
322
322
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/form.rb, line 78</span>
|
323
323
|
78: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">submit_to_remote</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">options</span> = {})
|
@@ -335,7 +335,7 @@ href="FormView.html#M000048">form_remote_tag</a></tt>.
|
|
335
335
|
</div>
|
336
336
|
</div>
|
337
337
|
<h4 class="ruled">Public Instance method:
|
338
|
-
<strong><a name="
|
338
|
+
<strong><a name="M000046">text_field(field_name, value = "", options = {})</a></strong> <a href="#M000046"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: text_field" /></a></h4>
|
339
339
|
|
340
340
|
<p>
|
341
341
|
Autocomplete options :
|
@@ -355,8 +355,8 @@ them here, in the usual {field: ‘value’,another:
|
|
355
355
|
</p>
|
356
356
|
|
357
357
|
<div class="sourcecode">
|
358
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
359
|
-
<div id="
|
358
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p>
|
359
|
+
<div id="M000046_source" class="dyn-source">
|
360
360
|
<pre>
|
361
361
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/form.rb, line 30</span>
|
362
362
|
30: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">text_field</span>(<span class="ruby-identifier">field_name</span>, <span class="ruby-identifier">value</span> = <span class="ruby-value str">""</span>, <span class="ruby-identifier">options</span> = {})
|
@@ -66,13 +66,13 @@
|
|
66
66
|
"<a href="../../files/lib/bivouac/helpers/view/goh/base_rb.html" value="File: base.rb">lib/bivouac/helpers/view/goh/base.rb</a>",
|
67
67
|
"<a href="../../files/lib/bivouac/helpers/view/goh/form_rb.html" value="File: form.rb">lib/bivouac/helpers/view/goh/form.rb</a>",
|
68
68
|
"<a href="../../files/lib/bivouac/helpers/view/goh/html_rb.html" value="File: html.rb">lib/bivouac/helpers/view/goh/html.rb</a>",
|
69
|
-
"<a href="../../files/lib/bivouac/helpers/view/goh/
|
69
|
+
"<a href="../../files/lib/bivouac/helpers/view/goh/sound_rb.html" value="File: sound.rb">lib/bivouac/helpers/view/goh/sound.rb</a>",
|
70
70
|
"<a href="../../files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html" value="File: scriptaculous.rb">lib/bivouac/helpers/view/goh/scriptaculous.rb</a>",
|
71
71
|
"<a href="../../files/lib/bivouac/helpers/view/goh/javascript_rb.html" value="File: javascript.rb">lib/bivouac/helpers/view/goh/javascript.rb</a>",
|
72
72
|
<a href="http://greg.rubyfr.net">nil</a>].each do<br />
|
73
73
|
<a href="../../classes/JavaScriptGenerator.html" title="Class: JavaScriptGenerator">JavaScriptGenerator</a>.view_html<br />
|
74
74
|
<a href="../../classes/BivouacHelpers.html" title="Module: BivouacHelpers">BivouacHelpers</a>.view_html<br />
|
75
|
-
<a href="../../classes/BivouacHelpers/
|
75
|
+
<a href="../../classes/BivouacHelpers/SoundView.html" title="Module: BivouacHelpers::SoundView">BivouacHelpers::SoundView</a>.view_html<br />
|
76
76
|
<a href="../../classes/BivouacHelpers/ScriptAculoUsView.html" title="Module: BivouacHelpers::ScriptAculoUsView">BivouacHelpers::ScriptAculoUsView</a>.view_html<br />
|
77
77
|
<a href="../../classes/BivouacHelpers/BaseView.html" title="Module: BivouacHelpers::BaseView">BivouacHelpers::BaseView</a>.view_html<br />
|
78
78
|
<a href="../../classes/BivouacHelpers/JavaScriptView.html" title="Module: BivouacHelpers::JavaScriptView">BivouacHelpers::JavaScriptView</a>.view_html<br />
|
@@ -103,12 +103,12 @@ bivouac/helpers/view/html
|
|
103
103
|
|
104
104
|
<h2 class="ruled">Methods</h2>
|
105
105
|
<h4 class="ruled">Public Instance method:
|
106
|
-
<strong><a name="
|
106
|
+
<strong><a name="M000043">image_path( source )</a></strong> <a href="#M000043"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: image_path" /></a></h4>
|
107
107
|
|
108
108
|
<p>
|
109
109
|
Computes the path to an image asset in the public images directory. Full
|
110
110
|
paths from the document root will be passed through. Used internally by <a
|
111
|
-
href="HtmlView.html#
|
111
|
+
href="HtmlView.html#M000042">image_tag</a> to build the image path.
|
112
112
|
</p>
|
113
113
|
<pre>
|
114
114
|
image_path("edit") # => /public/images/edit
|
@@ -119,8 +119,8 @@ href="HtmlView.html#M000040">image_tag</a> to build the image path.
|
|
119
119
|
</pre>
|
120
120
|
|
121
121
|
<div class="sourcecode">
|
122
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
123
|
-
<div id="
|
122
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p>
|
123
|
+
<div id="M000043_source" class="dyn-source">
|
124
124
|
<pre>
|
125
125
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/html.rb, line 89</span>
|
126
126
|
89: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">image_path</span>( <span class="ruby-identifier">source</span> )
|
@@ -134,7 +134,7 @@ href="HtmlView.html#M000040">image_tag</a> to build the image path.
|
|
134
134
|
</div>
|
135
135
|
</div>
|
136
136
|
<h4 class="ruled">Public Instance method:
|
137
|
-
<strong><a name="
|
137
|
+
<strong><a name="M000042">image_tag( source, options = {} )</a></strong> <a href="#M000042"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: image_tag" /></a></h4>
|
138
138
|
|
139
139
|
<p>
|
140
140
|
Returns an html image tag for the <tt>source</tt>. The <tt>source</tt> must
|
@@ -152,8 +152,8 @@ without the extension)
|
|
152
152
|
</pre>
|
153
153
|
|
154
154
|
<div class="sourcecode">
|
155
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
156
|
-
<div id="
|
155
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p>
|
156
|
+
<div id="M000042_source" class="dyn-source">
|
157
157
|
<pre>
|
158
158
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/html.rb, line 73</span>
|
159
159
|
73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">image_tag</span>( <span class="ruby-identifier">source</span>, <span class="ruby-identifier">options</span> = {} )
|
@@ -166,7 +166,7 @@ without the extension)
|
|
166
166
|
</div>
|
167
167
|
</div>
|
168
168
|
<h4 class="ruled">Public Instance method:
|
169
|
-
<strong><a name="
|
169
|
+
<strong><a name="M000041">javascript_include_tag( *sources )</a></strong> <a href="#M000041"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: javascript_include_tag" /></a></h4>
|
170
170
|
|
171
171
|
<p>
|
172
172
|
Returns an html script tag for each of the <tt>sources</tt> provided. You
|
@@ -185,8 +185,8 @@ libraries in your application, pass :defaults as the source.
|
|
185
185
|
</pre>
|
186
186
|
|
187
187
|
<div class="sourcecode">
|
188
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
189
|
-
<div id="
|
188
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p>
|
189
|
+
<div id="M000041_source" class="dyn-source">
|
190
190
|
<pre>
|
191
191
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/html.rb, line 43</span>
|
192
192
|
43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">javascript_include_tag</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">sources</span> )
|
@@ -211,7 +211,7 @@ libraries in your application, pass :defaults as the source.
|
|
211
211
|
</div>
|
212
212
|
</div>
|
213
213
|
<h4 class="ruled">Public Instance method:
|
214
|
-
<strong><a name="
|
214
|
+
<strong><a name="M000044">link_to(name, address, options = {})</a></strong> <a href="#M000044"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: link_to" /></a></h4>
|
215
215
|
|
216
216
|
<p>
|
217
217
|
Creates a link tag of the given <tt>name</tt> using <tt>address</tt> has
|
@@ -244,8 +244,8 @@ You can mix and match the <tt>options</tt>.
|
|
244
244
|
</pre>
|
245
245
|
|
246
246
|
<div class="sourcecode">
|
247
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
248
|
-
<div id="
|
247
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p>
|
248
|
+
<div id="M000044_source" class="dyn-source">
|
249
249
|
<pre>
|
250
250
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/html.rb, line 116</span>
|
251
251
|
116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">link_to</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">address</span>, <span class="ruby-identifier">options</span> = {})
|
@@ -258,7 +258,7 @@ You can mix and match the <tt>options</tt>.
|
|
258
258
|
</div>
|
259
259
|
</div>
|
260
260
|
<h4 class="ruled">Public Instance method:
|
261
|
-
<strong><a name="
|
261
|
+
<strong><a name="M000040">stylesheet_link_tag( *data )</a></strong> <a href="#M000040"><img src="../../permalink.gif" border="0" title="Permalink to Public Instance method: stylesheet_link_tag" /></a></h4>
|
262
262
|
|
263
263
|
<p>
|
264
264
|
Returns a stylesheet link tag for the sources specified as arguments. If
|
@@ -278,8 +278,8 @@ You can modify the link attributes by passing a hash as the last argument.
|
|
278
278
|
</pre>
|
279
279
|
|
280
280
|
<div class="sourcecode">
|
281
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
282
|
-
<div id="
|
281
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p>
|
282
|
+
<div id="M000040_source" class="dyn-source">
|
283
283
|
<pre>
|
284
284
|
<span class="ruby-comment cmt"># File lib/bivouac/helpers/view/goh/html.rb, line 20</span>
|
285
285
|
20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stylesheet_link_tag</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">data</span> )
|