Updating 'Allows delete links to post' to ES6 syntax (#1161)
Updating 'Allows delete links to post' to ES6 syntax (#1161)

* removed use of 'var', converted to arrow functions and moved 'i' declaration into 'for' arguments

* missed a close parentheses

* reversing changes to lines 258, 260 and 275

amberframework/amber,amberframework/amber,Amber-Crystal/amber,amberframework/amber,Amber-Crystal/amber