Permalink
Browse files

Updated TODO list

  • Loading branch information...
1 parent ac06960 commit 884e3c001552a77c7820783779394818ac3d0951 Dan Dean committed Aug 27, 2012
Showing with 15 additions and 4 deletions.
  1. +15 −4 TODO.md
View
19 TODO.md
@@ -4,10 +4,21 @@ TODO
* Data store's should be able to extend their Model API when necessary.
* Fire data-driven events (EventEmitter2)
- model.on('change', function(name, value, old) {});
- model.on('change:name', function(value, old) {});
+ model.on('change', function(name, value, old) {});
+ model.on('change:name', function(value, old) {});
+ model.on('delete', function(model) {});
+
+* Fire Model-type level data-driven events:
+
+ Model.on('create', function(model) {});
+ Model.on('delete', function(model) {});
+ Model.on('change', function(model, property, value, old) {});
+ Model.on('change:name', function(model, value, old) {});
* Figure out methodology for setting data w/o firing events.
- model.quiet('name', 'Dan');
- model._name = 'Dan';
+ model.shhh('name', 'Dan');
+ model.quiet('name', 'Dan');
+ model._name = 'Dan';
+
+

0 comments on commit 884e3c0

Please sign in to comment.