Skip to content

Commit

Permalink
fix: rename fromEvent helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlafroscia committed Feb 7, 2019
1 parent 55db245 commit 64b4b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/observables/from-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { fromEventPattern } from "rxjs";
* @param {string} eventName
* @return {Observable}
*/
export default function fromPropertyChange(subject, eventName) {
export default function fromEvent(subject, eventName) {
return fromEventPattern(
handler => {
subject.on(eventName, subject, handler);
Expand Down

0 comments on commit 64b4b95

Please sign in to comment.