toastdriven/itty — Issue #13: PUT throws error after 1283cb0
Author: boorad
Created: 2011-12-05 21:32:36+00:00
State: open

decorators were made more performant in 1283cb0, however, the put() function throws an error because the declaration of 'new' local variable was removed. When trying to set new.status on line 430, the error is observed. I put a comment into the commit: https://github.com/toastdriven/itty/commit/1283cb0248548e76734ecc8a6f0ae92ac745c6ac#commitcomment-741380 which says my patch is to basically remove line 430 and manually set status in my handlers.