Example AMD use of the SettingsManager library
require
:
require(
// The path to the SettingsManager.js file
['../../scripts/SettingsManager.js'],
// A callback which is executed with the SettingsManager instance
function onLoaded(SettingsManager) {
var settingsManager = new SettingsManager.SettingsManager();
/* code here */
}
);