source: frontend/node_modules/underscore/modules/index-default.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 872 bytes
Line 
1// Default Export
2// ==============
3// In this module, we mix our bundled exports into the `_` object and export
4// the result. This is analogous to setting `module.exports = _` in CommonJS.
5// Hence, this module is also the entry point of our UMD bundle and the package
6// entry point for CommonJS and AMD users. In other words, this is (the source
7// of) the module you are interfacing with when you do any of the following:
8//
9// ```js
10// // CommonJS
11// var _ = require('underscore');
12//
13// // AMD
14// define(['underscore'], function(_) {...});
15//
16// // UMD in the browser
17// // _ is available as a global variable
18// ```
19import * as allExports from './index.js';
20import { mixin } from './index.js';
21
22// Add all of the Underscore functions to the wrapper object.
23var _ = mixin(allExports);
24// Legacy Node.js API.
25_._ = _;
26// Export the Underscore API.
27export default _;
Note: See TracBrowser for help on using the repository browser.