An error, like in this code, causes the JSDoc for the whole class to
crash. Wouldn't it be nice if JSDoc notified me OR just at least
ignored the the typo? The error is "@param {Observer)"
/**
* Registers a Observer
* @param {Observer) observer The observer to register.
*/
this.registerObserver = function(observer){
observerArr.push(observer);
}
|