Skip to content

Commit

Permalink
Merge pull request #425 from TechplexEngineer/patch-1
Browse files Browse the repository at this point in the history
jquery package moved to non-core directory
  • Loading branch information
StorytellerCZ authored Dec 8, 2021
2 parents fee00fc + 8e512e2 commit 8796ef6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ This example is for the Bootstrap theme. You can use another theme package. See
First:

```bash
$ npm install --save jquery@1.11.2 datatables.net-bs
$ npm install --save jquery@1.12.1 datatables.net-bs
```

Note that we install jquery@1.11.2. This needs to match the current version of jQuery included with Meteor's `jquery` package. (See the version comment in https://github.com/meteor/meteor/blob/master/packages/jquery/package.js) Otherwise, due to the `datatables.net` package depending on `jquery` NPM package, it might automatically install the latest `jquery` version, which may conflict with Bootstrap or Meteor.
Note that we install jquery@1.12.1. This needs to match the current version of jQuery included with Meteor's `jquery` package. (See the version comment in https://github.com/meteor/meteor/blob/master/packages/non-core/jquery/package.js) Otherwise, due to the `datatables.net` package depending on `jquery` NPM package, it might automatically install the latest `jquery` version, which may conflict with Bootstrap or Meteor.

Then, somewhere in your client JavaScript:

Expand Down

0 comments on commit 8796ef6

Please sign in to comment.