<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,11 +2,11 @@ module Widgets
   # Utility module for widgets that need to create a default CSS
   # you have to include it inside a Widget to add css_generation capability
   module CssTemplate
-   # render and cache the default css 
+    # render and cache the default css 
     def default_css
       @default_css if @default_css
       # if not cache read and evaluate the template
-      css_template = ERB.new IO.read(File.expand_path(File.dirname(__FILE__) + '/' + css_template_filename))
+      css_template = ERB.new IO.read(File.join(File.dirname(__FILE__), css_template_filename))
       @default_css = css_template.result(binding)
     end
     
@@ -18,7 +18,7 @@ module Widgets
       self.class.name.downcase.gsub(/.*::/,'') &lt;&lt; '.css.erb' 
     end
     
-    # should the helper generate a css for this tabnav?
+    # should the helper generate a css for this widget?
     def generate_css?
       @generate_css ? true : false
     end</diff>
      <filename>lib/widgets/css_template.rb</filename>
    </modified>
    <modified>
      <diff>@@ -61,6 +61,8 @@ module Widgets
       html
     end
     
+    private
+    
     # return the name of the erb to parse for the default css generation
     def css_template_filename
       'tooltip.css.erb' </diff>
      <filename>lib/widgets/tooltip_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,6 @@
 RAILS_ENV = 'test'
 require File.expand_path(File.join(File.dirname(__FILE__), '../../../../config/environment.rb'))
 require 'action_controller/test_process'
-require 'breakpoint'
 require 'widgets'
 
 def assert_html expected, actual</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -19,18 +19,18 @@ class TooltipHelperTest &lt; Test::Unit::TestCase
   end    
   
   def test_tooltip_link_function
-    expected = &quot;$('one_tooltip_link').observe('click', function(event){toggleTooltip(event, $('one_tooltip'))});&quot;   
+    expected = &quot;$('tooltip_link_one').observe('click', function(event){toggleTooltip(event, $('tooltip_one'))});&quot;   
     assert_equal expected.strip, tooltip_link_function(:one);
   
-    expected = &quot;$('two_tooltip_link').observe('click', function(event){toggleTooltip(event, $('two_tooltip'))});&quot;   
+    expected = &quot;$('tooltip_link_two').observe('click', function(event){toggleTooltip(event, $('tooltip_two'))});&quot;   
     assert_equal expected.strip, tooltip_link_function(:two);
   end
   
   def test_close_tooltip_link
-    expected = &quot;&lt;a href=\&quot;#\&quot; onclick=\&quot;$('first_tooltip').hide(); return false;\&quot;&gt;close&lt;/a&gt;&quot;   
+    expected = &quot;&lt;a href=\&quot;#\&quot; onclick=\&quot;$('tooltip_first').hide(); return false;\&quot;&gt;close&lt;/a&gt;&quot;   
     assert_equal expected.strip, close_tooltip_link(:first);
     
-    expected = &quot;&lt;a href=\&quot;#\&quot; onclick=\&quot;$('second_tooltip').hide(); return false;\&quot;&gt;chiudi&lt;/a&gt;&quot;   
+    expected = &quot;&lt;a href=\&quot;#\&quot; onclick=\&quot;$('tooltip_second').hide(); return false;\&quot;&gt;chiudi&lt;/a&gt;&quot;   
     assert_equal expected.strip, close_tooltip_link(:second, 'chiudi');
   end
  </diff>
      <filename>test/tooltip_helper_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>759338027a732ce28401d2722e6e63b62340c4ea</id>
    </parent>
  </parents>
  <author>
    <name>Michele Franzin</name>
    <email>michele.franzin@gmail.com</email>
  </author>
  <url>http://github.com/paolodona/rails-widgets/commit/91cbc68cafc4df68b814a0bdff706f0baa71e587</url>
  <id>91cbc68cafc4df68b814a0bdff706f0baa71e587</id>
  <committed-date>2008-08-08T12:05:16-07:00</committed-date>
  <authored-date>2008-08-08T12:05:16-07:00</authored-date>
  <message>minor improvement + made test run with rails 2.1</message>
  <tree>01138fa90eaf8ba65f7d01195f94c705944ce834</tree>
  <committer>
    <name>Michele Franzin</name>
    <email>michele.franzin@gmail.com</email>
  </committer>
</commit>
