Using JSDoc with AMD/require.js modules

For quite some time I’ve been searching for just the right formula to get JSDoc 3 to work with my AMD modules. Thankfully, the next version of JSDoc (3.3.0) finally seems ready for the job and I wanted to take the time to explain how it can be done.

Notifications in jide.js

Today we’ll create a number of controls that allow you to add notifications (think of Growl) to your website.

To do that, we need to create two controls: A Notification and a NotificationArea. The Notification will be the actual notification that displays your message to the user, while
the NotificationArea will be an area on the screen where the notifications should be displayed.

Syntactic sugar for classes in jide.js

jide.js comes with a simple class framework, jidejs/base/Class, however, you don’t have to use it if you don’t like it. jidejs/base/Class is quite simple. It helps you to extend from other classes, mix in other objects and define custom methods. Things tend to get ugly when you need to define ObservableProperties, though. Let’s take another …