addyosmani / essential-js-design-patterns

Repo for my 'Learning JavaScript Design Patterns' book
http://addyosmani.com/resources/essentialjsdesignpatterns/book/
4.83k stars 792 forks source link

add jsTestDriver demo #162

Open qcgm1978 opened 9 years ago

qcgm1978 commented 9 years ago

It seems no test about code in the book, so I author some test in test folder by jsTestDriver framework.

addyosmani commented 9 years ago

Would it be possible to provide some more detail on the additions this brings in? I'm seeing a lot of commits without very descriptive comments so trying to figure out the jsTestDriver flow being proposed :)

qcgm1978 commented 9 years ago

I added some tests which code is from your book. I have few experience about pulling request so if the code is not suitable you can ignore them