list.pagination.js
list.pagination.js copied to clipboard
Using w/ Browserify
I'm trying to get List.js going with Browserify. The top of my scripts file that's being compiled is as such:
var List = require('list.js');
var ListPagination = require('list.pagination.js');
Browserify is throwing two errors: Cannot find module 'classes'
and Cannot find module 'event'
.
Let me know if there's more information that would be useful.
Temporary workaround was to require the minified version directly:
var ListPagination = require('./../node_modules/list.pagination.js/dist/list.pagination.min.js')
+1