<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -42,7 +42,7 @@ module UnittestJS
       end
       
       def to_s
-        exists? ? to_link_tag(rel_filepath) : ''
+        exists? ? link_tag(rel_filepath) : ''
       end
     end
   
@@ -52,7 +52,7 @@ module UnittestJS
       end
       
       def to_s
-        exists? ? to_script_tag(rel_filepath) : ''
+        exists? ? script_tag(rel_filepath) : ''
       end
     end
   end</diff>
      <filename>lib/unittest_js/builder/fixtures.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,13 +1,17 @@
 module UnittestJS
   module Builder
     module HtmlHelper
-      def to_script_tag(filename)
+      def script_tag(filename)
         &quot;&lt;script src=\&quot;#{filename}?#{cache_buster}\&quot; type=\&quot;text/javascript\&quot; charset=\&quot;utf-8\&quot;&gt;&lt;/script&gt;&quot;
       end
-
-      def to_link_tag(filename)
+      # for backwards compatibility:
+      alias :to_script_tag :script_tag
+      
+      def link_tag(filename)
         &quot;&lt;link rel=\&quot;stylesheet\&quot; href=\&quot;#{filename}?#{cache_buster}\&quot; type=\&quot;text/css\&quot; /&gt;&quot;
       end
+      # for backwards compatibility:
+      alias :to_link_tag :link_tag
       
       def cache_buster
         @cache_buster ||= Time.now.to_i.to_s</diff>
      <filename>lib/unittest_js/builder/html_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,7 @@ module UnittestJS
       end
       
       def test_file
-        to_script_tag(&quot;#{@options.output_tests_dir.name}/#{filename}&quot;)
+        script_tag(&quot;#{@options.output_tests_dir.name}/#{filename}&quot;)
       end
       
       def timestamp
@@ -37,9 +37,9 @@ module UnittestJS
       def lib_files
         assets = @options.output_unittest_assets_dir.name
         [
-          to_script_tag(&quot;#{assets}/prototype.js&quot;),
-          to_script_tag(&quot;#{assets}/unittest.js&quot;),
-          to_link_tag(&quot;#{assets}/unittest.css&quot;)
+          script_tag(&quot;#{assets}/prototype.js&quot;),
+          script_tag(&quot;#{assets}/unittest.js&quot;),
+          link_tag(&quot;#{assets}/unittest.css&quot;)
         ].join(&quot;\n&quot;)
       end
       </diff>
      <filename>lib/unittest_js/builder/test_builder.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b1eb4c65b728a4216d1eec18fcd9f3873142cdd1</id>
    </parent>
  </parents>
  <author>
    <name>Tobie Langel</name>
    <email>tobie.langel@gmail.com</email>
  </author>
  <url>http://github.com/tobie/unittest_js/commit/b81172275ea4a6530a5bac4912f2f18ecbfe9feb</url>
  <id>b81172275ea4a6530a5bac4912f2f18ecbfe9feb</id>
  <committed-date>2009-07-22T06:04:17-07:00</committed-date>
  <authored-date>2009-07-22T06:04:17-07:00</authored-date>
  <message>Alias to_script_tag and to_link_tag to script_tag and link_tag respectively. Deprecate the former.</message>
  <tree>334b48efca3de05e0dacbe93ac7a74f9e96dbb82</tree>
  <committer>
    <name>Tobie Langel</name>
    <email>tobie.langel@gmail.com</email>
  </committer>
</commit>
