how to include library in widget

Hi all I create custom widget and I wont to include my library. Library folder placed in the widget folder. Widget structure: groupdocsmodule - widget maine folder GroupDocsWIdget - sub folder of groupdocsmodule lib - folder with libs in the GroupDocsWidget folder So I tryed to include it like this dojo.require("groupdocsmodule.GroupDocsWidget.lib.SharedApi"); but I have error: require is not defined How can I include my libs?
0 answers