Invalid JavaScript in "Adding Custom Business Logic with Events"
jeffbcross opened this issue · comments
Jeff Cross commented
http://docs.deployd.com/docs/collections/adding-logic.md#s-On Delete -3789
There's a line of code that indicates a date should be created like so, which throws an error:
this.createdDate = new Date.getTime();
Date constructor should have parentheses.
Ritchie Martori commented
pr?
edit: nm, saw that it was a reminder.
Jeff Cross commented
No pr yet; just added an issue on the go as a reminder to take care of it.
Sent from my iPhone
On Feb 26, 2013, at 11:29 AM, Ritchie Martori notifications@github.com wrote:
pr?
—
Reply to this email directly or view it on GitHub.
Nils Mattisson commented
I was bit by this today and added a pull request here: #17