Skip to content

Commit

Permalink
390eb4ed43595b0312d7b31ba412458447e1a81b Fix: .use() method wasn't …
Browse files Browse the repository at this point in the history
…using strict type checking for one check, which caused problems with ESM imports

d6bcb394a60fabdb554fce1a6e3ed767d4ba796c Merge branch 'master' of github.com:DataTables/DataTablesSrc

Sync to source repo @d6bcb394a60fabdb554fce1a6e3ed767d4ba796c
  • Loading branch information
dtbuild committed Nov 21, 2024
1 parent 5547dfa commit 6dc4b94
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.1.8",
"last-sync": "e0e9e1c92f428bfca6be9b6e0a9f73912267aff5"
"last-sync": "d6bcb394a60fabdb554fce1a6e3ed767d4ba796c"
}
2 changes: 1 addition & 1 deletion js/dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -9475,7 +9475,7 @@
if (type === 'lib' || type === 'jq' || (module && module.fn && module.fn.jquery)) {
$ = module;
}
else if (type == 'win' || (module && module.document)) {
else if (type === 'win' || (module && module.document)) {
window = module;
document = module.document;
}
Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9422,7 +9422,7 @@ DataTable.use = function (arg1, arg2) {
if (type === 'lib' || type === 'jq' || (module && module.fn && module.fn.jquery)) {
$ = module;
}
else if (type == 'win' || (module && module.document)) {
else if (type === 'win' || (module && module.document)) {
window = module;
document = module.document;
}
Expand Down

0 comments on commit 6dc4b94

Please sign in to comment.