Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Documentation

npm version dependencies devDependencies Build Status npm downloads

Preface

Tips and tricks

template pipe calls are chainable.

template
.pipe({message: 'Hello, world!'})
.pipe("#messages");

parasites are your friend.

(new Parasite(=> 'ishygddt')).infect(element);

Developer Guide

Codebase regulations

  1. Please try to write docs and tests as you go
  2. Keep your code nice and readable
  3. The more lines the better
  4. Add functionality as long as it isn't application specific

Documentation is...

  • jsdoc
  • comments
  • readme
  • changelog
  • git commit
  • any additional form over papertrail

Getting started with ECMA6

To compile es2015 to es5

  1. babel
  2. traceur

Preparing modules

  1. rollup
  2. webpack
  3. browserify

Microlibraries

  • Alchemist -- Elemental transformation
  • Parasite -- Tools to modify an element
  • Template -- Interface for manipulating from a source

Future tasks

  • More tests, (template doesn't have any)
  • Fix Code Coverage
  • Multidimensional indexing
  • Finish writing jsdoc scripts
  • Make a gh-pages branch

Changelog

1.1 "Tophat"

  • Deep property accessors

2.0 "Bloodsucker"

  • Internally left es5 for es6
  • Introduction of parasites

2.1 "Dusty"

  • Allowed querySelectors in the pipeline

2.2 "Permiscuous"

  • Multiple children per template
  • Alchemist is now basically useless...
  • [2.2.3] No more nudism / exposure.