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

not support promise ? #28

Closed
cheft opened this issue Dec 22, 2015 · 4 comments
Closed

not support promise ? #28

cheft opened this issue Dec 22, 2015 · 4 comments

Comments

@cheft
Copy link

cheft commented Dec 22, 2015

not support promise ?

@StephanHoyer
Copy link
Member

can you be more specific please?

@cheft
Copy link
Author

cheft commented Dec 23, 2015

Run the mithril demo (Sample code), throw error

     ctrl.pages().map(function(page) {
       ^
TypeError: ctrl.pages is not a function

because ctrl.pages() is promise object, want to support!

@StephanHoyer
Copy link
Member

Can you please show the full code. I think the problem is unrelated to mithril-node-render

@StephanHoyer
Copy link
Member

Will close this for now.

Feel free to reopen, if this is still a problem.

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

2 participants