-
Notifications
You must be signed in to change notification settings - Fork 756
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
RFC: Allow to easy reference additional assets shipped with DNN javascript library #3382
Comments
This looks great to me. In addition, I'd think it would help to either be able to request a resource relative to a library, or to get the path of a library. It could look something like this:
Or like this:
|
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
Please don't close! |
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
anyone to submit a PR, @roman-yagodin ? |
Well, maybe. Probably will take quite some time, though. |
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
Bump! |
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
This issue has been closed automatically due to inactivity (as mentioned 14 days ago). Feel free to re-open the issue if you believe it is still relevant. |
Description of problem
It's hard to reference additional assets shipped along with DNN javascript library package, e.g. CSS, images, fonts, non-main scripts, etc. Currently we need to re-implement (or borrow) non-public parts of
DotNetNuke.Framework.JavaScriptLibraries
code to do this.Description of solution
Option 1 (partial solution)
Just make Javascript.GetHighestVersionLibrary() method public.
This will allow reference additional assets (see example below), but only from highest library version:
Option 2 (more general solution)
Make the
Javascript.GetHighestVersionLibrary()
method public and also introduce following public methods:The text was updated successfully, but these errors were encountered: