Changeset 274 for trunk/samples

Show
Ignore:
Timestamp:
11/15/2007 23:05:38 (10 months ago)
Author:
why
Message:

* shoes/ruby.c: fixed up click, hover and leave events for links. the :url setting is no more as well, since :click is sufficient.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/samples/book.rb

    r230 r274  
    1313    INCIDENTS.each_with_index do |(title, story), i| 
    1414      toc.push "(#{i + 1}) ", 
    15         link(title, :url => "/incidents/#{i}"), 
     15        link(title, :click => "/incidents/#{i}"), 
    1616        " / " 
    1717    end