or, and, not helpers; views are callable, inline partials callable, docs improvements
This passes can-component's tests
This re-orgs the docs towards being use-case first:
This also deprecates much of the older ways of doing things:
It adds 3 new helpers:
or( first, second, third )and( first, second, third )not( value )- this is a converter copied from can-stache-converters
It makes views callable and wires up nodelists:
const addressView = stache(`<address>{{this.street}}, {{this.city}}</address>`);
const view = stache(`{{ addressView(street=user1.street city=user1.city) }}`)It makes inline partials callable too:
{{< addressView }}
<address>{{ this.street}}, {{ this.city }}</address>
{{/ addressView }}
<h2>{{ this.user1.name }}</h2>
{{ addressView(user1) }}
These were both done with a new can.isView symbol we put on view renderers to know these functions are special. When we see this, we make sure to pass the nodeList.

