yui/yui3 — pull request #204 by ericf (2012-07-27 21:04:45+00:00)
Title: Pass sync `action` to ModelSync.REST's `serialize()` method.

This allows developer's to override the default `serialize()` method, and know the current `action` that `sync()` is operating on.

The major use case here is a developer wanting to only send over which attributes have changed. e.g. a PUT only containing a couple of fields.