Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with route binding causing failure #65

Closed
jonbnewman opened this issue May 11, 2017 · 0 comments
Closed

Issue with route binding causing failure #65

jonbnewman opened this issue May 11, 2017 · 0 comments
Assignees
Labels

Comments

@jonbnewman
Copy link

Scenario: route binding against an element with a state option whose value is null.

Example:

<router module="MyRouter">
<a data-bind="route: someProperty"></a>
</router>
fw.router.register('MyRouter', function MyRouter () {
  var self = fw.router.boot({ /* ... */});
  self.someProperty = fw.observable(undefined);
});

This causes a binding error and breaks the application.

@jonbnewman jonbnewman self-assigned this May 11, 2017
@jonbnewman jonbnewman added the bug label May 11, 2017
@jonbnewman jonbnewman changed the title Rare issue with route binding causing failure Issue with route binding causing failure May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant