Slide 18
Slide 18 text
Backbone Code
• Backbone.Model - Base model is a single revision Diff
• Backbone.Collection - Diffs is a collection of all Diffs that
handles loading and syncing individual diffs
• Backbone.Views - controls, tickmarks, metabox, tooltip,
checkbox, buttons, slider, diff
• Backbone.Router - keeps the urls consistent with the state
• Templating engine adapted from media library,
generalized into wp.template