HTML and CSS Reference
In-Depth Information
Listing 4.14. Creating the plan object and utility functions in planner.js
Using the EventEmitter library allows the event code to be identical on both server and cli-
ent. The model, your plan object, emits events as the methods on it are called. On the client
side, you'll listen to these events and update the display appropriately.
 
Search WWH ::




Custom Search