Skip to content

Commit

Permalink
Change query parameter shuffleListeners => listenerOrder, see #215
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Apr 3, 2023
1 parent 471ef8b commit 3a2e36f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/ReadOnlyProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type SelfOptions = {
// subtypes can implement their own, more specific IOType.
phetioOuterType?: ( parameterType: IOType ) => IOType;

// If specified as true, this flag will ensure that listener order never changes (like via ?shuffleListeners)
// If specified as true, this flag will ensure that listener order never changes (like via ?listenerOrder=random)
hasListenerOrderDependencies?: boolean;
};

Expand Down
2 changes: 1 addition & 1 deletion js/TinyEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class TinyEmitter<T extends TEmitterParameter[] = []> implements
// If specified, this will be called before listeners are notified.
private readonly onBeforeNotify?: TEmitterListener<T> | null;

// If specified as true, this flag will ensure that listener order never changes (like via ?shuffleListeners)
// If specified as true, this flag will ensure that listener order never changes (like via ?listenerOrder=random)
private readonly hasListenerOrderDependencies?: boolean | null;

// The listeners that will be called on emit
Expand Down

0 comments on commit 3a2e36f

Please sign in to comment.