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
166 B
JavaScript
4 lines
166 B
JavaScript
// Define an object named exports. This will cause underscore.js to put `_` as a
|
|
// field on it, instead of in the global namespace. See also post.js.
|
|
exports = {};
|