Share dependencies between modules

LabKey Support Forum (Inactive)
Share dependencies between modules Jon (LabKey DevOps)  2017-04-07 18:58
Status: Closed
 
Hi Matt,

You can declare the CSS on the module level, the file-level, or the script level, so there is some flexibility there:

https://www.labkey.org/Documentation/wiki-page.view?name=scriptdepend

But without declaring the dependency somewhere, you're subjected to the CSS that is used within LabKey.

Additionally, you should still be able to share JS libs as well, so as long as you can get the appropriate paths as explained in the docs link above.

I'm not certain I'm understanding your last question:

"Additionally/alternatively, is there a way I could define a list of site-wide includes in a module of my own without having to modify LabKey's source? Kind of like adding to a master page of sorts."

I might be misunderstanding this, but are you trying to add a list to the entire platform? What is the purpose of this list?

Regards,

Jon