Initial commit
This commit is contained in:
22
node_modules/void-elements/LICENSE
generated
vendored
Normal file
22
node_modules/void-elements/LICENSE
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2014 hemanth
|
||||
|
||||
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.
|
27
node_modules/void-elements/README.md
generated
vendored
Normal file
27
node_modules/void-elements/README.md
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
void-elements
|
||||
==============
|
||||
|
||||
### Object of "void elements" defined by the HTML specification
|
||||
|
||||
Exports an `Object` of "void element" node names as defined by the HTML spec.
|
||||
|
||||
The list is programatically generated from the [latest W3C HTML draft](http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements).
|
||||
|
||||
[](https://travis-ci.org/pugjs/void-elements)
|
||||
[](https://david-dm.org/pugjs/void-elements#info=devDependencies)
|
||||
[](https://www.npmjs.org/package/void-elements)
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
```js
|
||||
var voidElements = require('void-elements');
|
||||
|
||||
assert(!voidElements['span'], '<span> is not a void element');
|
||||
assert(voidElements['img'], '<img> is a void element');
|
||||
```
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
MIT
|
21
node_modules/void-elements/index.js
generated
vendored
Normal file
21
node_modules/void-elements/index.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* This file automatically generated from `pre-publish.js`.
|
||||
* Do not manually edit.
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
"area": true,
|
||||
"base": true,
|
||||
"br": true,
|
||||
"col": true,
|
||||
"embed": true,
|
||||
"hr": true,
|
||||
"img": true,
|
||||
"input": true,
|
||||
"link": true,
|
||||
"meta": true,
|
||||
"param": true,
|
||||
"source": true,
|
||||
"track": true,
|
||||
"wbr": true
|
||||
};
|
34
node_modules/void-elements/package.json
generated
vendored
Normal file
34
node_modules/void-elements/package.json
generated
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "void-elements",
|
||||
"version": "3.1.0",
|
||||
"description": "Array of \"void elements\" defined by the HTML specification.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"pretest": "node build.js > test/latest.js",
|
||||
"test": "node test",
|
||||
"update": "node build.js > index.js"
|
||||
},
|
||||
"keywords": [
|
||||
"html",
|
||||
"void",
|
||||
"elements"
|
||||
],
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"repository": "pugjs/void-elements",
|
||||
"author": "hemanth.hm",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jadejs/void-elements/issues"
|
||||
},
|
||||
"homepage": "https://github.com/jadejs/void-elements",
|
||||
"devDependencies": {
|
||||
"jsdom": "^9.9.1",
|
||||
"request": "^2.79.0",
|
||||
"request-promise": "^4.1.1"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user