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

Durandal templates #24

Open
webpaul opened this issue Apr 21, 2015 · 2 comments
Open

Durandal templates #24

webpaul opened this issue Apr 21, 2015 · 2 comments
Labels

Comments

@webpaul
Copy link

webpaul commented Apr 21, 2015

How do I use this with durandal with templates? I'm able to get a simple example working using content but haven't figured out how to use a template yet. When I put the "script type=text/html" inside the same view where it is being used and set the template to a string with its id I get a jquery error of: Uncaught TypeError: Cannot set property 'id' of undefined in bootstrap-overrides.js:50

Really though I would like to put this template in a separate file and specify in the popover binding where it should look for the template

@webpaul
Copy link
Author

webpaul commented Apr 21, 2015

I had the template property inside the options tag so I got the basic template working - I would still be curious how you would recommend to put it in a separate file instead if being inside each view where it is used

@faulknercs
Copy link
Owner

Sorry for not answering. I will try to check this when I have time

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

2 participants