Skip to content

Commit

Permalink
fix(bindable-property): fix typo in comment
Browse files Browse the repository at this point in the history
fixes #291
  • Loading branch information
bryanrsmith committed Mar 13, 2016
1 parent e39e052 commit dfde78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindable-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class BindableProperty {
} else if ('propertyChanged' in viewModel) {
selfSubscriber = (newValue, oldValue) => viewModel.propertyChanged(name, newValue, oldValue);
} else if (changeHandlerName !== null) {
throw new Error(`Change handler ${changeHandlerName} was specified but not delcared on the class.`);
throw new Error(`Change handler ${changeHandlerName} was specified but not declared on the class.`);
}

if (defaultValue !== undefined) {
Expand Down

0 comments on commit dfde78a

Please sign in to comment.