Define a template  class for rendering buttons.
Define a template  class for rendering buttons.

All the values that are required on the Javascript side specific to the
button are defined as class properties.

--HG--
extra : rebase_source : 08fa2cddca9172497997dc09b8eeacb2dc122dec

rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son