Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 25, 2014
  1. Update to 0.1.1

  2. Fix undefined HTML elements

Commits on Feb 21, 2012
  1. Add example

  2. Quick documentation updates

  3. Add package.json

    This has been sitting around locally for a long time.
  4. Pure-JS rewriting

    A bittersweet victory here. This removes all traces of C++ code and my
    libfbjs library in favor of a pure-JS solution based on Mozilla's
  5. Fix UnescapedData class

    96403dd broke the UnescapedData class. This fixes it.
Commits on Jan 16, 2012
  1. Fix style attribute

Commits on Nov 17, 2011
  1. Make sure library object attrs are not quoted

    Quoted keys in object initializers have special meaning in my crazy
    wacky minifier.
Commits on Nov 8, 2011
  1. Remove dynamic tag names

    The <{'a'}>...</{'a'}> syntax is stupid and made the runtime a lot more
    complicated than it should have been. I pulled that feature out moved a
    lot of the runtime checks into the code rewriter so that can all happen
Commits on Nov 6, 2011
  1. Remove seperate data classes

    I originally had those because I wanted to make DOM nodes appear opaque
    to the user but I realized there's a non-insignificant performance
    penalty for that. So the classes are going.
Commits on Sep 2, 2011
Commits on Jul 21, 2011
  1. Fix attribute-less elements

    Elements with no attributes were picking up the attributes of the last
    element before them.
  2. Underscore generated object literals

    This makes it easier to minimize code which is generated from XML
    literals and delivered to a browser.
Commits on Jun 25, 2011
  1. Add browser compatible setters for attributes

    `style`, `class`, and all events need special handling in the client
  2. Make simple-dom accessors configuration

    It could be valuable for applications to modify these.
Commits on Jun 16, 2011
  1. Various fixes

    - `nodeValue` to CharacterData nodes
    - `replaceChild()` bug with Fragments
    - Build errors
    - Allow embedded expressions for attribute values
Commits on Mar 26, 2011
  1. Fix instantiation of empty fragments

    This was failing:
    	var foo = <></>;
  2. Add unregister()

    Some modules don't parse well with libfbjs (joose, for instance) so
    instead of fixing the deep-rooted parsing problems in libfbjs I'm just
    adding this hack. Now you can unregister a file extension, require the
    troublesome 3rd party libraries, and then reregister the extension.
Commits on Mar 16, 2011
  1. Fix simple-dom Array bugs

    Using Array's for fragments was buggy because it wouldn't properly
    reset the parentNode.
  2. New whitespace logic

  3. Fix some broken paths

  4. Spaces -> Tabs

    I'm going through my biennial spaces and tabs identity crisis. Tabs,
    you've hurt me in the past.. I just hope that I've learned enough so
    that it won't happen again. I'm putting a lot of faith in you, please
    don't leave me cold and alone
Commits on Feb 27, 2011
  1. Move `runtime` to `lib`

  2. Update to LICENSE

Commits on Dec 16, 2010
  1. Fix a few bugs:

    - Undefined error when setting attributes
    - Too aggressive whitespace trimming
    - Simple DOM didn't steal children properly with XML literals
    - Circular dependency led to broken inheritance
    - Lots of off-by-one errors
  2. Native DOM environment

    Adds an environment which supports directly manipulating existing DOM
    implementations. There's a new `DOMXMLEnvironment` constructor which
    only needs a `document` object and will enable full support for XML
    literals. You can use this on the client-side with the browser's DOM, or
    on the server-side using jsdom (or other DOM libraries).
  3. Abstract out interface for XML literals

    This diff moves the construction of XML literals into XMLEnvironment
    which lets you create different environments for different purposes. For
    instance you could have one environment which operates on a client-side
    DOM, or you could have another environment which creates a simulated
    server-side DOM. The choice is up to the user. Since this project is
    focusing on XML literals only, it makes sense to decouple from the
    implementation of the DOM.
  4. .gitignore

Something went wrong with that request. Please try again.