addyosmani / essential-js-design-patterns

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

Issue #83 - Added an else-if branch to the Insert function. #84

Closed kristofclaes closed 11 years ago

kristofclaes commented 11 years ago

This new branch takes care of the situation when index is bigger than 0 but smaller than the length of the observerList.

addyosmani commented 11 years ago

Thank you! :)