Skip to content

Commit

Permalink
Merge pull request #593 from derbyjs/fix-change-event-passed
Browse files Browse the repository at this point in the history
Fix typo in changeImmediate listener for event.passed
  • Loading branch information
ericyhwang authored Feb 9, 2021
2 parents 09d2a70 + 677c3e9 commit 676cb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Page.prototype._addModelListeners = function(eventModel) {
// The pass parameter is passed in for special handling of updates
// resulting from stringInsert or stringRemove
segments = util.castSegments(segments.slice());
eventModel.set(segments, event.previous, event.pass);
eventModel.set(segments, event.previous, event.passed);
});
var loadListener = model.on('loadImmediate', function onLoad(segments) {
segments = util.castSegments(segments.slice());
Expand Down

0 comments on commit 676cb06

Please sign in to comment.