index.js 322 B

123456789101112131415
  1. var DomUtils = module.exports;
  2. [
  3. require("./lib/stringify"),
  4. require("./lib/traversal"),
  5. require("./lib/manipulation"),
  6. require("./lib/querying"),
  7. require("./lib/legacy"),
  8. require("./lib/helpers")
  9. ].forEach(function(ext){
  10. Object.keys(ext).forEach(function(key){
  11. DomUtils[key] = ext[key].bind(DomUtils);
  12. });
  13. });