Permalink
Commits on Aug 13, 2010
Commits on Aug 12, 2010
  1. Adopt semver.

    committed Aug 12, 2010
Commits on Jul 16, 2010
  1. Don't use `$n` for `this`.

    When `this` is guaranteed to be non-null, it's faster to just dereference the
    element.
    committed Jul 16, 2010
  2. Expose $n (unbox) method for symmetry with n$ (box).

    This makes it easier to use NNS internally to an API, while not requiring that
    clients use NNS. Method arguments can be easily boxed using n$, while method
    return values can be unboxed using $n.
    committed Jul 16, 2010
  3. New methods.

           add <- appendChild, insertBefore
        remove <- removeChild
        parent <- parentNode
         child <- firstChild, lastChild, childNodes[i]
      previous <- previousSibling
          next <- nextSibling
            on <- addEventListener
           off <- removeEventListener
    
    Also, n$(string) will create an "offscreen" element, and n$(null) will return
    null. This commit also rewrites the NNS to use traditional JavaScript prototypes
    to avoid creating any per-instance closures. This seems prudent given that NNS
    objects should be cheap to create. A minimized version of nns.js is also
    included.
    committed Jul 16, 2010
Commits on Jul 15, 2010
  1. Allow text to be cleared.

    committed Jul 15, 2010
  2. Rename to NNS (No NameSpace).

    committed Jul 15, 2010
  3. Add BSD license.

    committed Jul 15, 2010
  4. Improvements.

    committed Jul 15, 2010
Commits on Jul 14, 2010
  1. Initial commit.

    committed Jul 14, 2010