-
Notifications
You must be signed in to change notification settings - Fork 28
Unable to display xml data when using hljs in detail.html #210
Comments
We are shipping hljs as a bower dependency by default, and it is commonly used as well.. |
Did the component properly add to index.html? Also any console errors? Not familiar with how to set this up to recreate the issue |
There was a console message deep inside highlightjs about some missing function. @robpml, can you recover that message, and add here? |
sorry meant to include it originally - will recreate and update the case shortly.. |
Console output:
|
closed by mistake! |
looking into it. relevant issue on their project -> pc035860/angular-highlightjs#26 except it seems like it supposedly fixed |
so confirmed that it was what the last comment on that issue is. basically our dependencies get out of order and highlights.js is being added after angular-highlights.js which is causing this error. normally this isn't an issue but since there is no official highlightjs bower component angular-highlights doesn't specify a dependency so the order is not ensured... |
Ah, so bower overrides could indeed fix this. We could do both though, put angular-* at bottom, and add a bower override.. |
I'm using some XML data and want to display the content when selected from a search. In previous iterations of slush-marklogic-node I made the following change to detail.html:
and added hljs to app.js, but this does not work with the latest version of slush-marklogic-node I am using (0.2.0), with no output being displayed. The code I used is:
but I did manage to get this working:
The text was updated successfully, but these errors were encountered: