mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
This implies that all exports are package variables, which made underscore, jquery, and htmljs (which explicitly assigned to fields on the global variable) break. We now properly encapsulate these packages (except for window.jQuery, which we let sneak out because bootstrap wants it). This means that packages that want _ need to use underscore, and packages that want $ need to use jquery. Also, you can't use _ in minimongo $where any more (matching mongod).
4 lines
159 B
JavaScript
4 lines
159 B
JavaScript
// This exports object was created in pre.js. Now copy the `_` object from it
|
|
// into the package-scope variable `_`, which will get exported.
|
|
_ = exports._;
|