These files should not be added
This commit is contained in:
19
build/javascript/node_modules/dom-walk/LICENCE
generated
vendored
19
build/javascript/node_modules/dom-walk/LICENCE
generated
vendored
@@ -1,19 +0,0 @@
|
||||
Copyright (c) 2012 Raynos.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
2
build/javascript/node_modules/dom-walk/Makefile
generated
vendored
2
build/javascript/node_modules/dom-walk/Makefile
generated
vendored
@@ -1,2 +0,0 @@
|
||||
run:
|
||||
./node_modules/.bin/browserify-server --cwd example
|
||||
23
build/javascript/node_modules/dom-walk/README.md
generated
vendored
23
build/javascript/node_modules/dom-walk/README.md
generated
vendored
@@ -1,23 +0,0 @@
|
||||
# dom-walk
|
||||
|
||||
iteratively walk a DOM node
|
||||
|
||||
## Example
|
||||
|
||||
``` js
|
||||
var walk = require("dom-walk")
|
||||
|
||||
walk(document.body.childNodes, function (node) {
|
||||
console.log("node", node)
|
||||
})
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
`npm install dom-walk`
|
||||
|
||||
## Contributors
|
||||
|
||||
- Raynos
|
||||
|
||||
## MIT Licenced
|
||||
5
build/javascript/node_modules/dom-walk/example/index.js
generated
vendored
5
build/javascript/node_modules/dom-walk/example/index.js
generated
vendored
@@ -1,5 +0,0 @@
|
||||
var walk = require("../index")
|
||||
|
||||
walk(document, function (node) {
|
||||
console.log("node", node)
|
||||
})
|
||||
24
build/javascript/node_modules/dom-walk/index.js
generated
vendored
24
build/javascript/node_modules/dom-walk/index.js
generated
vendored
@@ -1,24 +0,0 @@
|
||||
var slice = Array.prototype.slice
|
||||
|
||||
module.exports = iterativelyWalk
|
||||
|
||||
function iterativelyWalk(nodes, cb) {
|
||||
if (!('length' in nodes)) {
|
||||
nodes = [nodes]
|
||||
}
|
||||
|
||||
nodes = slice.call(nodes)
|
||||
|
||||
while(nodes.length) {
|
||||
var node = nodes.shift(),
|
||||
ret = cb(node)
|
||||
|
||||
if (ret) {
|
||||
return ret
|
||||
}
|
||||
|
||||
if (node.childNodes && node.childNodes.length) {
|
||||
nodes = slice.call(node.childNodes).concat(nodes)
|
||||
}
|
||||
}
|
||||
}
|
||||
66
build/javascript/node_modules/dom-walk/package.json
generated
vendored
66
build/javascript/node_modules/dom-walk/package.json
generated
vendored
@@ -1,66 +0,0 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"dom-walk@0.1.2",
|
||||
"/home/runner/work/owncast/owncast/build/javascript"
|
||||
]
|
||||
],
|
||||
"_from": "dom-walk@0.1.2",
|
||||
"_id": "dom-walk@0.1.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==",
|
||||
"_location": "/dom-walk",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "dom-walk@0.1.2",
|
||||
"name": "dom-walk",
|
||||
"escapedName": "dom-walk",
|
||||
"rawSpec": "0.1.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.1.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/min-document"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz",
|
||||
"_spec": "0.1.2",
|
||||
"_where": "/home/runner/work/owncast/owncast/build/javascript",
|
||||
"author": {
|
||||
"name": "Raynos",
|
||||
"email": "raynos2@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Raynos/dom-walk/issues",
|
||||
"email": "raynos2@gmail.com"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Jake Verbaten"
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"description": "iteratively walk a DOM node",
|
||||
"devDependencies": {
|
||||
"budo": "11.6.3"
|
||||
},
|
||||
"homepage": "https://github.com/Raynos/dom-walk",
|
||||
"keywords": [],
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "http://github.com/Raynos/dom-walk/raw/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"main": "index",
|
||||
"name": "dom-walk",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/Raynos/dom-walk.git"
|
||||
},
|
||||
"scripts": {
|
||||
"example": "budo example/index.js"
|
||||
},
|
||||
"version": "0.1.2"
|
||||
}
|
||||
Reference in New Issue
Block a user