pugjs / pug-runtime

The runtime for the Pug compiler
MIT License
10 stars 6 forks source link

Handle custom toJSON #30

Closed ForbesLindesay closed 8 years ago

ForbesLindesay commented 8 years ago

[see pugjs/pug#2369]

This is a breaking change to pug-runtime but could be released as the next alpha for pug.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 90.071% when pulling 0cce868d0684c15ea43c45f3380be281ca2265d7 on cutom-toJSON into b3d6b0a44d7fa4af7f588713b604cf81d1c9cac5 on master.

ForbesLindesay commented 8 years ago

@TimothyGu could you take a look at this? If we're going to publish this we really need to do it before pug comes out of beta.

TimothyGu commented 8 years ago

I guess it's okay for compatibility.