DataTables / DataTables/Plugins
Common js integration
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
In bootstrap plugin (and others), we can find this code (https://github.com/DataTables/Plugins/blob/master/integration/bootstrap/3/dataTables.bootstrap.js#L177):
// Node/CommonJS
factory( require('jquery'), require('datatables') );
"jquery" module is easy to get (https://www.npmjs.org/package/jquery), but where do the hell the module "datatables" comes from, as DataTables is not compatible, nor available at all in CommonJS ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at integration/bootstrap/3/dataTables.bootstrap.js around line 177 and inspect the CommonJS factory call, then compare the referenced jquery and datatables modules with their npm availability. Done means the supported CommonJS integration and the source of the datatables module are clearly established or the integration issue is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100