College Football Playoff Odds, Picks, Predictions Bowl Games
- This is a configuration file, likely for a JavaScript module loader like RequireJS.
- This section defines teh mapping between logical module names (used in require() calls in your JavaScript code) and the actual file paths were those modules are located.
- For example: * ".custom": "2.6.2" means that when your code does require(".custom"), the loader will look for a file named 2.6.2 (likely a JavaScript file) in the...
This is a configuration file, likely for a JavaScript module loader like RequireJS. Let’s break down what it contains:
1. paths:
This section defines teh mapping between logical module names (used in require() calls in your JavaScript code) and the actual file paths were those modules are located. It’s organized into nested objects.
* Top-Level paths: This is the main mapping. For example:
* ".custom": "2.6.2" means that when your code does require(".custom"), the loader will look for a file named 2.6.2 (likely a JavaScript file) in the base URL of your request.
* "libs/velocity": "1.2.2" means require("libs/velocity") will load 1.2.2.
* libs: A common convention is to group third-party libraries under a libs directory. You see a lot of jQuery plugins here (e.g., libs/jquery/dotdotdot, libs/jquery/flexslider).
* fly: Another directory, likely containing custom or application-specific code.
* urls: Some paths point to external URLs (e.g., https://sports.cbsimg.net/js/cbsi/app/VideoPlayer/AdobePass-min.js). This allows loading modules directly from a CDN or other web server.
2. config:
This section contains configuration options for the module loader.
* shim: this is crucial. It’s used to tell the module loader how to load modules that don’t follow the standard AMD (Asynchronous Module Definition) format. Many older JavaScript libraries (like jQuery plugins) were not written as AMD modules. The shim configuration provides data about their dependencies and how to make them work with the module loader.
* liveconnection/managers/connection: This module depends on liveconnection/libs/sockjs-0.3.4. The loader will ensure that sockjs-0.3.4 is loaded before liveconnection/managers/connection.
* liveconnection/libs/sockjs-0.3.4: This module exports a global variable named SockJS. The loader will make SockJS available to other modules.
* libs/setValueFromArray and libs/getValueFromArray: These modules also export global variables named set and get respectively.
* fly/libs/backbone.marionette: This module depends on jQuery, fly/libs/underscore, and fly/libs/backbone. It exports a global variable named Marionette.
* fly/libs/underscore-1.5.1 and fly/libs/backbone-1.0.0: These modules export global variables _ and Backbone respectively.
* libs/jquery/ui/jquery.ui.tabs-1.11.4: This jQuery UI tab module depends on jQuery, the core jQuery UI components, and fly/libs/jquery.widget.
* libs/jquery/flexslider-2.1: This jQuery plugin depends on jQuery.
* libs/dataTables.fixedColumns-3.0.4 and libs/dataTables.fixedHeader-2.1.2: These DataTables extensions depend on jQuery and the base DataTables library.
* https://sports.cbsimg.net/js/CBSi/app/VideoPlayer/AdobePass-min.js: This depends on https://sports.cbsimg.net/js/CBSi/util/Utils-min.js.
* map: This section defines aliases or mappings for modules. It’s used to simplify module names or to provide option paths.
* `”*”:{“adobe-pass”:”https://sports.cbsimg
