cs142/project2/node_modules/domutils/index.js

15 lines
322 B
JavaScript
Raw Normal View History

2020-08-01 22:26:11 +00:00
var DomUtils = module.exports;
[
require("./lib/stringify"),
require("./lib/traversal"),
require("./lib/manipulation"),
require("./lib/querying"),
require("./lib/legacy"),
require("./lib/helpers")
].forEach(function(ext){
Object.keys(ext).forEach(function(key){
DomUtils[key] = ext[key].bind(DomUtils);
});
});