Skip to content

Commit

Permalink
fix implementation-notes.md for Disposable.assertNotDisposable, phets…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 5, 2023
1 parent 819199e commit 6d53bc2
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions doc/implementation-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,8 @@ its behavior, do so with logging enabled via the `log` query parameter.
* **dispose:** All classes have a `dispose` method. Sim-specific classes whose instances exist for the lifetime of the
sim are not intended to be disposed, and their `dispose` implementation looks like this:

```js
/**
* @public
* @override
*/
dispose()
{
```ts
public override dispose(): void {
Disposable.assertNotDisposable();
super.dispose();
}
Expand Down

0 comments on commit 6d53bc2

Please sign in to comment.