mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
It's nice to match versions, but we couldn't bump the minor version of the Meteor jquery package without breaking compatibility with the current Meteor release (1.6.1), since jquery is a core package. The next Meteor release (either 1.6.1.1 or 1.6.2) will either use the new 1.12.1 version or (ideally) jquery will no longer be a core package, and thus will not be constrained by the release. Related: #9605
18 lines
515 B
JavaScript
18 lines
515 B
JavaScript
Package.describe({
|
|
summary: "Manipulate the DOM using CSS selectors",
|
|
// This package currently uses jQuery 1.12.1 (due to #9605).
|
|
version: '1.12.1'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use('modules');
|
|
|
|
// Note that you can `meteor npm install jquery` (any version) into your
|
|
// application's node_modules directory, and the meteor/jquery package
|
|
// will use that version instead of 1.12.1.
|
|
api.mainModule('main.js', 'client');
|
|
|
|
api.export('$', 'client');
|
|
api.export('jQuery', 'client');
|
|
});
|