Design Pattern in Javascript

I read the javascript design pattern from Addy Osmani. There’re code examples in the book and i try to re-write it by coffeescript. It helps me understand pattern more and clear. During writing i found a good coffeescript cookbook and very helpful. I put the final result to gist

Comments