There is a new parameter to anonymous/declare available in the current
SNAPSHOT release of Jingo called 'dynamic'. This allows you to flag a
module and its dependency subgraph as dynamic only. The parameter
defaults to false, but if you include it in your anonymous block and
set it to true it will let the Jingo Static Assembler know it should
leave it alone.
***********************************
jingo.anonymous({
dynamic: true,
require: [
'resource.bundle_' + locale
],
exec: function() {
// ... create some localized stuff
}
});
***********************************
Hope that helps :-)
-Sean