Last updated Dec 8, 2017

Specifying required resources for the framework

This page is part of the Gadget Developers' JavaScript Cookbook.

What resources do I need to specify as required in order to use the framework?

The framework requires the inclusion of the following resources: For Atlassian Gadgets 1.0.x:

1
2
#requireResource("com.atlassian.jira.gadgets:common")
#includeResources()

For Atlassian Gadgets 2.0 and later:

1
2
#requireResource("com.atlassian.gadgets.publisher:ajs-gadgets")
#includeResources()

Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework

Rate this page: