High level, small footprint, native leaning library to aid your display of Javascript Badassery.
JavaScript HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
base
container
docs
examples/buttons
extras
mixins
store
util
view
LICENSE
README.md
gulpfile.js
package.json
sudo.js

README.md

sudo.js

Annotated Source

Here

Overview

A Small object-oriented library to aid you in your quest for Javascript awesomeness by establishing hierarchies of objects which are able to utilize a chain-of-responsibility.

...and the making of sandwiches.

Documentaion

  • Specific module documentation and examples moved to the wiki.
  • See the Docco annotated source code located in the docs directory.

API Reference

Methods Exposed by Module and Their Corresponding Wiki Page

Base

  • addDelegate(object)
  • getDelegate(role)
  • removeDelegate(role)
  • delegate(role, method)

Store

  • setPath(path, value)
  • sets(object)
  • getPath(path)
  • gets(array)
  • unsetPath(path)
  • unsets(array)

Container

  • addChild(child, name)
  • getChild(argument)
  • removeChild(argument)
  • bubble()
  • removedFromParent()
  • send(arguments)

View

  • mergeState
  • resetState

Modules Residing in 'Extras'

Change Delegate

  • filter

Data Delegate

  • filter

listener extension

  • bindEvents
  • unbindEvents
and more...

Test Suite

npm test to run them all. You can also run each individually with gulp jasmine --spec path/to/spec/file.js

Run The "Buttons" Example

Use a static server as the new import functionality will not work with filesystem-level requests. I use static which, once installed globally, would allow you to simply run (from project root)

static examples/buttons

Then just point Chrome to localhost:8080

more soon...