observer.js | |
---|---|
var PDP = (function ( pdp ) {
'use strict'; | |
The ObserverThe observer pattern is used to decouple DOM elements from events. The EventEmitter library is used. | var observer = new EventEmitter(); |
Export the public API. | pdp.observer = observer;
return pdp;
}( PDP || {} ));
|