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

metadataFor("non-existing-bucket") should resolve with undefined #63

Open
lukemelia opened this issue Jul 31, 2013 · 1 comment
Open

Comments

@lukemelia
Copy link
Collaborator

Currently metadataFor("non-existing-bucket") throws an error in the card if "non-existing-bucket" is not defined:

TypeError: Cannot call method 'call' of undefined
    at Object.Conductor.metadataConsumer.options.requests.metadataFor

I think this scenario should resolve with undefined instead.

@lukemelia
Copy link
Collaborator Author

Same thing goes if the metadata property is not defined on the card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant