Morriz/backbone-everywhere — Issue #6: Anyway to get rid of getViewFunc()?
Author: cjroebuck
Created: 2011-10-18 13:21:04+00:00
State: open

Hi Morriz, me again ;)

Is there anyway to get rid of the getViewFunc() from the Backbone code. I know this is needed to send back the modified DOM to the client when its run on the server but wouldn't it be cool if we could listen to some DOM mutation event or perhaps automatically wrap each router handler function with the res.send code, possibly using _.wrap?