rhysbrettbowen/PlastronJS — pull request #7 by casio (2012-08-17 10:29:30+00:00)
Title: mvc.Model: add .toJsObject() to retrieve all attrs, including schema/meta/format defs

In order to, for example, pass the current model state to a template, it would be nice to have a nicely formatted represenation of all attrs available.

`.toJson()` currently only returns the fields defined in `this.attr_`, and the values retrieved dont respect the fields formatters, so I thought adding `.toJsObject()` might be of help.