Permalink
Commits on Jan 23, 2010
  1. Fixed assertion in CommonJS test.

    Tom Robinson committed Jan 23, 2010
  2. Add CommonJS package.json and test runner

    Tom Robinson committed Jan 23, 2010
Commits on Jan 16, 2010
  1. Add more tags to the explicit self close list since we never self clo…

    …se by content anymore. Also added a test case for the bug we just fixed.
    creationix committed Jan 16, 2010
  2. Don't automatically self-close empty tags.

    Empty tags shouldn't automatically self-close, or browsers get confused.
    The following haml should create a document which, after the script runs,
    contains two divs with text. In Firefox, the second div gets erased.
    
    %html
      %body
        %div#a
        %div I do not self close.
        :javascript
          (function(){document.getElementById('a').textContent='I self close';})();
    aeosynth committed Jan 16, 2010
Commits on Jan 12, 2010
  1. Clean up whitespace a bit.

    creationix committed Jan 12, 2010
Commits on Jan 10, 2010
  1. Rename the :script plugin to :javascript to conform more closely with…

    … ruby haml. :script is still allowed however.
    creationix committed Jan 10, 2010
Commits on Jan 9, 2010
  1. 0.1.1 release - Add :css and :script plugins

      Added two quick plugins that make working with javascript and css much easier.
    creationix committed Jan 9, 2010
  2. Trim inline content.

    creationix committed Jan 9, 2010
  3. Release version 0.1.0 - Complete Rewrite

       Rewrote the compiler to be recursive and compile to JavaScript code instead of JSON data structures.  This fixes all the outstanding bugs and simplifies the code.  Pending is restoring the `:script` and `:css` plugins.
    creationix committed Jan 9, 2010
  4. Cleanup code structure.

    creationix committed Jan 9, 2010
  5. Remove debugs.

    creationix committed Jan 9, 2010
  6. Merge branch 'master' of git://github.com/reid/haml-js into rewrite

    Conflicts:
    	README.markdown
    	lib/haml.js
    	test/test.js
    creationix committed Jan 9, 2010
  7. Rewrite haml.js to work differently. Now it compiles the haml to java…

    …script. Optimized the JS, and then evals it in the correct context.
    creationix committed Jan 9, 2010
Commits on Jan 7, 2010
  1. Fixed test.js link in README

    reid committed Jan 7, 2010
Commits on Jan 6, 2010
  1. Add another test case.

    creationix committed Jan 6, 2010
Commits on Jan 5, 2010
Commits on Jan 4, 2010
Commits on Jan 3, 2010
  1. Add some more failing tests

    creationix committed Jan 3, 2010
Commits on Jan 1, 2010