GT2/Ejectable/node_modules/dom-walk/example/index.js

6 lines
98 B
JavaScript

var walk = require("../index")
walk(document, function (node) {
console.log("node", node)
})