/*window.require breaks due to context of methods. see http://tobyho.com/2013/03/13/window-prop-vs-global-var/ */
/*jshint -W079*/
(function() {
'use strict';
var baseUrl = location.protocol + '//' + 'webfan.de/cdn/application/webfan/node_modules/',
config = {
context : '_',
inlineRequire : false,
waitSeconds : 180,
// defaultPrefix : 'frdlcjs',
// prefix : 'frdlcjs',
baseUrl : baseUrl,
paths: {
'feature': 'feature/feature',
'implementations': 'webfan/hps-features-implementation',
'amd-loader' : 'amd-loader/frdlweb/amd-loader',
'frdlcjs' : 'webfan/cjs/frdlcjs'
},
shim: {
},
exclude: []
};
// code coverage should not cover UMD wraps
/* istanbul ignore next */
// UMD-like wrap that sets config if possible, exports it or primes it / merges it
if (typeof define === 'function' && define.amd) {
// require already loaded, configure above
require.config(config);
} else if (typeof module !== 'undefined' && module.exports) {
// under nodejs, return the object
module.exports = config;
} else {
// if require pre-config exists, this will merge with existing config, overwrites keys
for (var k in config) {
// shallow/naive for multiple configs.
config.hasOwnProperty(k) && (require[k] = config[k]);
}
}
}());
|