Week 17 Fantasy Football RB Preview: Starts/Sits, DFS
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 aliases for JavaScript libraries and modules. It maps short, convenient names to the actual file paths of those libraries. This makes your code cleaner and easier to maintain.
* custom: 2.6.2 – A custom library or module, versioned.
* libs/velocity: 1.2.2 – The Velocity.js animation library.
* libs/dataTables: 1.10.6 – The DataTables JavaScript library for creating interactive tables.
* libs/dataTables.fixedColumns: 3.0.4 - A DataTables extension for fixing columns.
* libs/dataTables.fixedHeader: 2.1.2 – A DataTables extension for fixing the table header.
* libs/dateformat: 1.0.3 - A library for formatting dates.
* libs/waypoints/...: A collection of Waypoints.js modules for triggering functions as you scroll down the page. Includes infinite scrolling, in-view detection, and sticky elements.
* libs/jquery/...: A large collection of jQuery plugins. These provide various UI enhancements like:
* dotdotdot: Truncates text with an ellipsis.
* flexslider: A responsive slider.
* lazyload: Loads images only when they are visible in the viewport.
* maskedinput: Formats input fields (e.g., phone numbers).
* marquee: Creates a scrolling text effect.
* numberformatter: Formats numbers.
* placeholder: Adds placeholder text to input fields.
* scrollbar: Customizes scrollbars.
* tablesorter: Sorts tables.
* touchswipe: Adds touch event support.
* libs/jquery/ui/...: A extensive set of jQuery UI widgets, including:
* Core components (core, draggable, mouse, position)
* Slider, Sortable, Touch Punch
* Autocomplete, Accordion, Tabs, Menu, Dialog, Resizable, Button, Tooltip, Effects, Datepicker
* fly/libs/jquery.mobile-1.3.2: jQuery Mobile library.
* fly/libs/underscore-1.5.1: Underscore.js utility library.
* fly/libs/backbone-1.0.0: Backbone.js framework.
2. shim:
This section defines dependencies for modules that don’t explicitly declare them (often older libraries that don’t use a module format). it tells the module loader how to load these modules and what other modules they rely on.
* liveconnection/managers/connection: Depends on liveconnection/libs/sockjs-0.3.4.
* liveconnection/libs/sockjs-0.3.4: Exports a global variable named SockJS.
* libs/setValueFromArray: Exports a global variable named set.
* libs/getValueFromArray: Exports a global variable named get.
* fly/libs/backbone.marionette: depends on jQuery, Underscore, and Backbone, and exports Marionette.
* fly/libs/underscore-1.5.1: Exports a global variable named _.
* fly/libs/backbone-1.0.0: Depends on Underscore and jQuery, and exports Backbone.
* libs/jquery/ui/jquery.ui.tabs-1.11.4: Depends on jQuery, jQuery UI Core, and fly/libs/jquery.widget.
* **`libs/jquery/flexslider-2.
