addyosmani / essential-js-design-patterns

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

fix typo in decorator pattern section #223

Open iramirezc opened 5 years ago

iramirezc commented 5 years ago

The current text reads like this:

"In the following example, we define three objects: defaults, options and settings. The aim of the task is to decorate the defaults object with additional functionality found in optionssettings."

When it should be:

"In the following example, we define three objects: defaults, options and settings. The aim of the task is to decorate the defaults object with additional functionality found in options, which we will make available through settings."