UNPKG
property-information
Version:
latest (7.1.0)
7.1.0
7.0.0
6.5.0
6.4.1
6.4.0
6.3.0
6.2.0
6.1.1
6.1.0
6.0.1
6.0.0
5.6.0
5.5.0
5.4.0
5.3.0
5.2.2
5.2.1
5.2.0
5.1.0
5.0.1
5.0.0
4.2.0
4.1.0
4.0.3
4.0.2
4.0.1
4.0.0
3.2.0
3.1.0
3.0.0
2.0.0
1.0.0
Information for HTML properties
github.com/wooorm/property-information
wooorm/property-information
property-information
/
lib
/
util
/
schema.js
19 lines
(13 loc)
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict'
module
.
exports
=
Schema
var
proto =
Schema
.
prototype
proto.
space
=
null
proto.
normal
= {} proto.
property
= {}
function
Schema
(
property, normal, space
) {
this
.
property
= property
this
.
normal
= normal
if
(space) {
this
.
space
= space } }