independent javascript librairies from JavascriptKata.com
Pull request Compare This branch is 28 commits behind dsimard:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
demo
minified
ready.js @ 180ca53
src
test
.gitmodules
README.textile
ready.conf.js

README.textile

jsKata

independent javascript library

official sitetwitterdsimard@azanka.ca

Documentation

Documentation is maintained by hand.

Doc is available in the wiki

Namespaces

There are 4 different namespaces to access jsKata

  1. JavascriptKataDotCom
  2. jsKata
  3. jsk
  4. _

The first one (JavascriptKataDotCom) is the default. The others are used if they are not assigned.

If you want to access via another namespace :

window.MyNamespace = window.JavascriptKataDotCom;

Manifesto

  • No internal dependence : every library can be used independently “as is”.
  • No external dependence : don’t depend on external libraries.
  • Everything is public : you know what you’re doing
  • Avoid objects : use closures
  • No unnecessary validation : if something goes wrong, an error will pop
  • No error catching : if an error pop, it goes all the way up
  • No DOM : jQuery already exists
  • No plugins : if a developer wants to add something, he will find a way around
  • Write good documentation : document as I code
  • Promote : a good library is nothing without users