Skip to content

High level, small footprint, native leaning library to aid your display of Javascript Badassery.

License

Notifications You must be signed in to change notification settings

sudo-js/make-me-a-sandwich

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • addDelegate(object)
  • getDelegate(role)
  • removeDelegate(role)
  • delegate(role, method)
  • setPath(path, value)
  • sets(object)
  • getPath(path)
  • gets(array)
  • unsetPath(path)
  • unsets(array)
  • addChild(child, name)
  • getChild(argument)
  • removeChild(argument)
  • bubble()
  • removedFromParent()
  • send(arguments)
  • mergeState
  • resetState

Modules Residing in 'Extras'

  • filter
  • filter
  • 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...

About

High level, small footprint, native leaning library to aid your display of Javascript Badassery.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published