ractivejs/docs.ractivejs.org — pull request #107 by rstacruz (2014-07-15 10:28:36+00:00)
Title: Update ractive.render()

Updates render() with basic usage info.

The docs say that `render()` will throw an error, but it doesn't. In fact, calling `insert()` on a new component will ask you to invoke `render()`.

```
var r = new Ractive({ template: '

hi

' });
r.insert(document.body); // fail

var parent = document.createDocumentFragment(); /* or .createElement('DIV') */
r.render(parent);
r.insert(document.body); // ok
```