Browserified datatables not binding to jQuery
Browserified datatables not binding to jQuery
cdaringe
Posts: 7Questions: 3Answers: 0
Hi all:
I would expect the following to put dataTables onto jQuery (i.e. extend jQuery). However, post browserify, it does not. Can someone correct my usage, here?
window.jQuery = require('jquery'); // 2.1.x
require('datatables'); // 1.10.6
JS Fiddle works, but requirebin is well suited for npm/browserify fiddles! See example here:
http://requirebin.com/?gist=5ffe8c635881eea5a907
Thanks,
Chris
This discussion has been closed.