Skip to content

Commit

Permalink
Migrate from ObservableArray => createObservableArray (Proxy), see ph…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 2, 2020
1 parent f0b8105 commit 2f73ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/phet-software-design-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ ObservableArray is another common iteration of the Observer pattern. ObservableA
```js
// model
// @public {ObservableArray.<Cart>}
this.carts = new ObservableArray();
this.carts = createObservableArray();
// view
Expand Down

0 comments on commit 2f73ada

Please sign in to comment.