V0.0.1

Todo:

- [ ] Add unit tests
- [x] Add ui
- [ ] Add collection view
- [x] onAttach event
- [ ] ~~perf tests against Marionette~~ not for v0.0.1
- [ ] ~~Add base router~~ not for v0.0.1
- [ ] ~~Add state router~~ not for v0.0.1
- [ ] ~~Add Puppets.Computed (?)~~ not for v0.0.1
Yeah
On Dec 22, 2014 5:17 PM, "James Smith" <notifications@github.com> wrote:

> In src/utilities.js
> <https://github.com/jmeas/puppets/pull/1#discussion-diff-22194048>:
>
> > +Puppets.isNodeAttached = function(el) {
> > +  return Puppets.$.contains(document.documentElement, el);
> > +};
> > +
> > +// Configure global template options to be
> > +// used during compilation. Works for both
> > +// Underscore and Handlebars templates
> > +Puppets.templateOptions = {};
> > +
> > +// Takes a template string and returns a template function
> > +// This should not be necessary in most situations, as
> > +// you should be precompiling your templates in a build step
> > +// Override this if you're not precompiling and you want to use,
> > +// say, Handlebars
> > +Puppets.compileTemplate = function(templateString, options) {
> > +  return _.template(templateString, _.extend(Puppets.templateOptions, options));
>
> Is the compatible version _.template(templateString, undefined,
> _.extend());?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jmeas/puppets/pull/1/files#r22194048>.
>