jen
09/12/2018, 10:33 PM/**
* module_fancypantsmodule.js
* @ssScriptName ModuleFancyPants
* @ssScriptId module_fancypants
* @ssApiVersion 2.0
*/
define(function() {
/* Define the functions in this module. */
function myAmazingFunction(number) {
return number + 1;
}
function myNotAsGoodFunction(number) {
return number;
}
/* Return the names of the functions. Note that these can be different from the
* actual names above, but for clarity let's keep them the same.
*/
return {
myAmazingFunction: myAmazingFunction,
myNotAsGoodFunction: myNotAsGoodFunction
}
});