thedesk/app/node_modules/dom-walk/example/index.js
2018-02-19 02:41:25 +09:00

5 lines
113 B
JavaScript

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