public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
Search Repo:
Do not mention link_to_function in merb-assets README.
Michael S. Klishin (author)
Tue May 20 13:07:27 -0700 2008
commit  4a9f68f1abdba312b1ae7cd45301c93f7ca14de8
tree    945513c588c0b71ee7f048b4d2ccc176d0e30b52
parent  3b2570278748541aba04815b2af4ac46d4578ae8
...
20
21
22
23
24
25
26
...
248
249
250
251
252
253
254
255
256
257
258
259
 
260
...
20
21
22
 
23
24
25
...
247
248
249
 
 
 
 
 
 
 
 
 
250
251
0
@@ -20,7 +20,6 @@ Quick overview of the API
0
   # image_tag creates img tag.
0
   
0
   # escape_js escapes JavaScript.
0
- # link_to_function creates anchor tag that has onlick event with JS function.
0
   # js method translates object into JSON.
0
   
0
   # require_js is smart(-er) way to do includes just once per page no matter
0
@@ -248,12 +247,4 @@ Utility methods examples
0
   #=> "http://assets3.my-awesome-domain.com/stylesheets/somearbitrary.css"
0
 
0
   uniq_path('/images/hostsexypicture.jpg')
0
- #=>"http://assets1.my-awesome-domain.com/images/hostsexypicture.jpg"
0
-
0
-
0
- link_to_function('Click me', "alert('hi!')")
0
- # => <a href="#" onclick="alert('hi!'); return false;">Click me</a>
0
-
0
- link_to_function('Add to cart', "item_total += 1; alert('Item added!');")
0
- # => <a href="#" onclick="item_total += 1; alert('Item added!'); return false;">Add to cart</a>
0
-
0
+ #=>"http://assets1.my-awesome-domain.com/images/hostsexypicture.jpg"
0
\ No newline at end of file

Comments

    No one has commented yet.