Maximilian Gold 4f8071fffe Uploaded the base of the project the working demo of CH1 Multiplayer Game Development with HTML5 | 3 years ago | |
---|---|---|
.. | ||
test | 3 years ago | |
.gitattributes | 3 years ago | |
.npmignore | 3 years ago | |
.travis.yml | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
index.js | 3 years ago | |
package.json | 3 years ago | |
pre-publish.js | 3 years ago |
Exports an Array of “void element” node names as defined by the HTML spec.
The list is programatically generated from SPEC.
var voidElements = require('void-elements');
assert(voidElements.indexOf('span') === -1, '<span> is not a void element');
assert(voidElements.indexOf('img') !== -1, '<img> is a void element');
MIT