edward / geds-next

0 stars 0 forks source link

Employ block string so that render function is less complicated to read and modify #6

Open ghost opened 10 years ago

ghost commented 10 years ago

This a minor cosmetic change to the customerRenderFunction defined in the coffee-script file. I used the block string syntax (http://coffeescript.org/#strings) to compose the HTML instead of a series of string operations. I think this is more elegant and durable. But that’s just my opinion.