You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
No, simply want to support a more modular approach to initializing this package to prevent having to pollute the window with hljs.
Describe the solution you'd like
To be able to pass hljs as a variable in an initializer function/factory/etc. for highlightjs-line-numbers.js to prevent having to bind hljs to the window first.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
For me this is a problem. I am trying to use your project, but the way how I require highlight.js is in a way that does not create widow.hljs. Therefore your code fails.
Is your feature request related to a problem? Please describe.
No, simply want to support a more modular approach to initializing this package to prevent having to pollute the window with hljs.
Describe the solution you'd like
To be able to pass hljs as a variable in an initializer function/factory/etc. for highlightjs-line-numbers.js to prevent having to bind hljs to the window first.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: