1.7.2 • Published 11 months ago

chocfactory v1.7.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

The Chocolate Factory

(Are you reading this at its source?)

The Chocolate Factory is a lightweight JavaScript DOM manipulation library, inspired both positively and negatively by jQuery, React.js, and others. Its goals are:

  1. Be extremely lightweight. Just import it and use it, no build system, no node_modules, nothing. This should be easy and convenient for use on places like GitHub Pages, where build systems are not available.
  2. Work directly with DOM objects where practical. This includes both the element objects and all ancillaries, such as event objects. Discrepancies should be unusual and well-justified.
  3. Leave power in the hands of the programmer. It's not Choc Factory's job to tell you how to write your code.
  4. Behave naturally and predictably whenever possible.

This repository also includes tools related to the Chocolate Factory, but using the library requires just one file, factory.js.

API documentation

How to use the Chocolate Factory

Templating the Chocolate Factory

Editor integration

What's New (change history)

The Code

1.7.2

11 months ago

1.6.4

11 months ago

1.6.3

1 year ago

1.7.1

11 months ago

1.7.0

11 months ago

1.6.2

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago