The page implies that it's possible to have one gadget dependent on another, but I can't seem to find a dependency syntax that works. Can someone give an example?
Topic on Extension talk:Gadgets
* gadgetname[ResourceLoader|dependencies=ext.gadget.anothergadgetname]
Note that the ohter gadget must be loaded using ResourceLoader as well, otherwise it is not available as a module.
Thanks, that worked beautifully! I've added an example to the page to make it easier for future editors.