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

5 lines
113 B
JavaScript

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