Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this step, we are going to create an empty entry function. We will use "_ujgCompletedIssues" for AMD module name. You can put anything you like but it should be unique between other instances of Universal Gadget for Jira gadget. Put "_ujgCompletedIssues" into "AMD module" field and use the same name as the first argument of define function in "JavaScript to run" editor. This step can look nextthe following way:


Code Block
languagejs
define("_ujgCompletedIssues", [ "jquery" ], function($) {
  var MyGadget = function(API) {
  };
  return MyGadget;
});

...