Closed dagjomar closed 10 years ago
In this example you do not have a container for the pagination. <ul class="pagination"></ul>
Thanks. That was part of the problem.
Also, had to make sure that the list.pagination.js knew about the list.js file, as it is not in Global space and "List" was undefined.
var List = require("modules/IARegionList/list");
This worked fine with 0.2 release
Trying to implement 1.0 release, but can't figure out how to get plugin working in the CommonJS module environment.
This is a test file I have. app.js contains all the compiled CommonJS modules.
what I get from the console is an error in list.pagination.js
Uncaught TypeError: Cannot read property 'childNodes' of undefined list.js:1336