Using dojo.required() for coomon custom js functions
Is it possible to use dojo.require() to include a set of common functions in a set of custom attribute providers? I'm thinking of something like another js file in the /workitem/scripts/common/ directory that would be required by an attribute value provider and would contain common functionality needed by multiple AVP's.
I've tried a few things with no success:
dojo.require("com.ibm.team.ims.script.findId");
dojo.require("workitem.scripts.common.findId");
Any way to do this?
I've tried a few things with no success:
dojo.require("com.ibm.team.ims.script.findId");
dojo.require("workitem.scripts.common.findId");
Any way to do this?