Skip to content

Commit 6d88438

Browse files
committed
added CommonJS support
1 parent 9dc5c93 commit 6d88438

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dataTables.rowsGroup.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,11 @@ $(document).on( 'init.dt', function ( e, settings ) {
266266
}
267267
} );
268268

269-
}(jQuery));
269+
}(
270+
(typeof require === 'function')
271+
? require('jQuery')
272+
: window.jQuery,
273+
));
270274

271275
/*
272276

0 commit comments

Comments
 (0)