itty icon indicating copy to clipboard operation
itty copied to clipboard

PUT throws error after 1283cb0

Open boorad opened this issue 14 years ago • 0 comments

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.

boorad avatar Dec 05 '11 21:12 boorad