Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

clean up ChangeRecord API #3

Open
jmesserly opened this issue Feb 2, 2015 · 0 comments
Open

clean up ChangeRecord API #3

jmesserly opened this issue Feb 2, 2015 · 0 comments

Comments

@jmesserly
Copy link
Contributor

moved from https://code.google.com/p/dart/issues/detail?id=14157

  • Observable.changes should only be property changes.
  • ObservableList will have "listChanges" property which includes the ListChangeRecords.
    Splitting this allows the consumer to know what kind of records it is getting, and makes the API constraints more clear.
  • remove ChangeRecord base class
  • add "target" to List/Map change record
  • add old/new values to ListChangeRecord? See http://wiki.ecmascript.org/doku.php?id=harmony:observe#array.observe
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant