129
rated 0 times
[
133]
[
4]
/ answers: 1 / hits: 12571
/ 11 Years ago, tue, january 21, 2014, 12:00:00
Hi I'm using the grunt browserify task to setup my code, I have shimmed in jQuery and I'm now trying to include jquery.tablesorter.
Can jquery plugins be used with browserify in this way?
shim: {
jquery: {
path: 'lib/bower/jquery/jquery.js',
exports: '$'
},
'jquery.tablesorter': {
path: 'lib/bower/jquery.tablesorter/js/jquery.tablesorter.js',
exports: 'tablesorter',
depends: {
jquery: '$',
}
}
}
More From » jquery