I am trying to reproduce the Observer Pattern example given in the book Learning JavaScript Design Patterns but I get this error in the extend
function:
I am using the code in the book starting below this line:
First, let's model the list of dependent Observers a subject may have:
I have set up the code in a fiddle and I'd like to understand why I'm getting the error.
Aucun commentaire:
Enregistrer un commentaire