backbone.syphon
backbone.syphon copied to clipboard
add a "trim" option
Trimming the data from a <form> with <inputs> is a basic operation. Would it make sense for the serialize method to support it directly?
var data = Backbone.Syphon.serialize(this, { trim: true });
I can make a PR for this.
I think it'd be a good idea :+1: