Peter Palaga created GTNPORTAL-3396:
---------------------------------------
Summary: Support all possible js module dependency names in define()
Key: GTNPORTAL-3396
URL:
https://issues.jboss.org/browse/GTNPORTAL-3396
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 3.7.0.Final
Reporter: Peter Palaga
Assignee: Peter Palaga
Let's have a dependeny graph as simple as:
dojo/sniff depends on dojo/has
Given that both dojo/sniff and dojo/has live in the same directory named "dojo",
the dojo/sniff.js file starts with
define(["./has"], function(has){
Note the relative module path name "./has" there. Relative paths comply with the
AMD spec [1] and "../<someModule>" should also be supported.
Using such relative module names in define() does not seem to work in GateIn.
[1]
https://github.com/amdjs/amdjs-api/wiki/AMD
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira