The module's metadata is available via the 'this' reference within the
module body callback. So you could write your example like the
following:
jingo.declare({
name: 'com.subumbo.util.ListItem',
require: ['com.subumbo.util.Class'],
as: function() {
var module = this;
ListItem = Class.extend({
getQualifiedClassName: function() {
return
module.name;
}
});
}
});
Properties of the module metadata should be considered read-only.
Also bear in mind that properties contained in the module metadata
aren't really part of the published Jingo interface.