Class: setToCompatibilityModeExtension

mmir.LanguageManager. setToCompatibilityModeExtension

new mmir.LanguageManager.setToCompatibilityModeExtension(compatibilitySelf)

Set to "backwards compatibility mode v1" (for pre version 2.0) for LanguageManager. NOTE: needs mmir.Core.setToCompatibilityModeExtension to be set first! This function re-adds deprecated and removed functions and properties to the CommonUtils instance. NOTE that once set to compatibility mode, it cannot be reset to non-compatibility mode.

In addition, the following functions of LanguageManager are made accessible on the mmir.LanguageManager instance with these additional names

Name Type Description
compatibilitySelf mmir.LanguageManager the instance of mmir.LanguageManager to which the compatibility functions etc. will be attached
Example
mmir.require(['mmirf/core3Compatibility', 'mmirf/languageManagerCompatibility', 'mmirf/core', 'mmirf/languageManager'], function(setCoreCompatibility, setCompatibility, mmir, languageManager){
		setCoreCompatibility(mmir);
		setCompatibility(languageManager);
});