Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 3, 2010
  1. 0.1.2 Release - Bug fixes, plugin aliases, CommonJS, and more...

    This is a big release with many improvements.  First haml-js is now a CommonJS module and is in the Tusk repository.  Thanks to Tom Robinson for helping with that.  Some of the plugins got aliases for people who didn't like the original name.  For example, you can now do `:javascript` instead of `:script` and `:for` instead of `:each`.  There were many bug fixes now that the code is starting to be actually used by myself and others.
Commits on Feb 2, 2010
Commits on Jan 30, 2010
Commits on Jan 25, 2010
  1. @nex3

    Fix the link to the Haml site.

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

    Tom Robinson committed
  2. Add CommonJS package.json and test runner

    Tom Robinson committed
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.
  2. @aeosynth

    Don't automatically self-close empty tags.

    aeosynth committed
    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.
        %div I do not self close.
          (function(){document.getElementById('a').textContent='I self close';})();
  3. @aeosynth
Commits on Jan 12, 2010
  1. Clean up whitespace a bit.

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

    … ruby haml. :script is still allowed however.
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.
  2. Trim inline content.

  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.
  4. Cleanup code structure.

  5. Remove debugs.

  6. Merge branch 'master' of git:// into rewrite

  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.
Commits on Jan 7, 2010
  1. @reid
  2. @reid
  3. @reid

    Fixed test.js link in README

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

Something went wrong with that request. Please try again.