/mockup-mypatterns

Minimal pattern for learning pattern creation

Primary LanguageJavaScript

A minimal pattern for mockup

This is a minimal pattern for mockup. It does not much, except changing the html contents of a DOM element with a configurable test. It can be used to learn about mockup, the source code is annotated with comments.

Getting started

Make sure, you have GNU make, node and git installed.

Then:

$ git clone https://github.com/collective/mockup-minimalpattern.git
$ cd mockup-minimalpattern
$ make bootstrap

Then:

$ make docs
$ python -m SimpleHTTPServer
$ chrome http://localhost:8000

TODO

  • Resolve todo's in the code,
  • Write an example test.