File: application/webfan/node_modules/webfan/hps-config.js

Recommend this page to a friend!
  Classes of Till Wehowski   µ.Flow   application/webfan/node_modules/webfan/hps-config.js   Download  
File: application/webfan/node_modules/webfan/hps-config.js
Role: Class source
Content type: text/plain
Description: Class source
Class: µ.Flow
General purpose library of objects
Author: By
Last change:
Date: 7 years ago
Size: 1,505 bytes
 

Contents

Class file image Download
/*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]); } } }());