/js-observer

This simple module represent model observer on multiple html views.

Primary LanguageJavaScriptMIT LicenseMIT

Purpose

Show Observer pattern on JS. I create a single model and pass it on multiple views. When the model is modified notify hte event to the views configured.

Run test

  • npm install
  • npm run test Using Karma

Create dist and execute

  • npm run start into dist/app.js
  • launch index.html and click on the Item