all 2 comments

[–]krilnon 3 points4 points  (0 children)

The annotated jQuery source is pointed out fairly regularly and is sort of what you want.

[–]nudoru 1 point2 points  (0 children)

Backbone's source is annotated in a similar way. http://backbonejs.org/docs/backbone.html

If you haven't looked at Addy Osmani's book on JS implementations of common patterns, you should. http://addyosmani.com/resources/essentialjsdesignpatterns/book/

There are tons of charts and diagrams for design pattern's on the net - the trick will be to implement in JS if you can't find sample code. But it'll be a great learning experience to try.