new mmir.compat.v4.ModuleIdCompat()
        Maps requirejs module IDs from mmir-lib v4 (and earlier) to module IDs used in mmir-lib version >= 5.
    
    
    
    
    
    
    
    
    
Example
mmir.require(['mmirf/core4ModuleIdCompatibility', 'mmirf/core'], function(core4ModuleIdCompatibility, mmir){
		core4ModuleIdCompatibility(mmir.require, mmir, false);
});
    
    
Members
- 
    
core4Ids
 - 
    
    Map v4 IDs (input) to v5 IDs (output)
 - 
    
core4Ids
 - 
    
    Map v4 IDs (input) to v5 IDs (output)
 
Methods
- 
    
    
    Maps requirejs module IDs from mmir-lib v4 (and earlier) to module IDs used in mmir-lib version >= 5.
Name Type Description idString the v4 module ID Returns:
Type Description String the corresponding v5 module ID  - 
    
setToCompatibilityMode(requirejs, context, onlySetRequirejs)
 - 
    
    
    Set to "backwards compatibility mode" (for pre version 5.0). This function "re-adds" module IDs for mmir v4 for requiring modules. NOTE that once set to compatibility mode, it cannot be reset to non-compatibility mode.
Name Type Description requirejsfunction the require function, e.g. mmir.requirecontextobject optional the context to which the modified require()-function will be attached: if omitted the global context will be used onlySetRequirejsBoolean optional if FALSE, the modified require()-function will be attached to fields 'require' and 'requirejs' of context if TRUE, only to field 'requirejs'