Skip to content

Commit 7faf138

Browse files
committed
publish to npm
1 parent 77f99e0 commit 7faf138

4 files changed

Lines changed: 14 additions & 8 deletions

File tree

dist/react-lite.common.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* react-lite.js v0.15.14
2+
* react-lite.js v0.15.15
33
* (c) 2016 Jade Gu
44
* Released under the MIT License.
55
*/
@@ -45,14 +45,14 @@ function initVnode(vnode, parentContext, namespaceURI) {
4545
// init element
4646
node = initVelem(vnode, parentContext, namespaceURI);
4747
} else if (vtype === VCOMPONENT) {
48-
// init state component
48+
// init stateful component
4949
node = initVcomponent(vnode, parentContext, namespaceURI);
5050
} else if (vtype === VSTATELESS) {
5151
// init stateless component
5252
node = initVstateless(vnode, parentContext, namespaceURI);
5353
} else if (vtype === VCOMMENT) {
5454
// init comment
55-
node = document.createComment('react-empty: ' + vnode.uid);
55+
node = document.createComment('react-text: ' + (vnode.uid || getUid()));
5656
}
5757
return node;
5858
}
@@ -1187,6 +1187,7 @@ var HTMLDOMPropertyConfig = {
11871187
profile: 0,
11881188
radioGroup: 0,
11891189
readOnly: HAS_BOOLEAN_VALUE,
1190+
referrerPolicy: 0,
11901191
rel: 0,
11911192
required: HAS_BOOLEAN_VALUE,
11921193
reversed: HAS_BOOLEAN_VALUE,
@@ -1527,6 +1528,8 @@ var ATTRS = {
15271528
xlinkTitle: 'xlink:title',
15281529
xlinkType: 'xlink:type',
15291530
xmlBase: 'xml:base',
1531+
xmlns: 0,
1532+
xmlnsXlink: 'xmlns:xlink',
15301533
xmlLang: 'xml:lang',
15311534
xmlSpace: 'xml:space',
15321535
y: 0,

dist/react-lite.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* react-lite.js v0.15.14
2+
* react-lite.js v0.15.15
33
* (c) 2016 Jade Gu
44
* Released under the MIT License.
55
*/
@@ -49,14 +49,14 @@
4949
// init element
5050
node = initVelem(vnode, parentContext, namespaceURI);
5151
} else if (vtype === VCOMPONENT) {
52-
// init state component
52+
// init stateful component
5353
node = initVcomponent(vnode, parentContext, namespaceURI);
5454
} else if (vtype === VSTATELESS) {
5555
// init stateless component
5656
node = initVstateless(vnode, parentContext, namespaceURI);
5757
} else if (vtype === VCOMMENT) {
5858
// init comment
59-
node = document.createComment('react-empty: ' + vnode.uid);
59+
node = document.createComment('react-text: ' + (vnode.uid || getUid()));
6060
}
6161
return node;
6262
}
@@ -1191,6 +1191,7 @@
11911191
profile: 0,
11921192
radioGroup: 0,
11931193
readOnly: HAS_BOOLEAN_VALUE,
1194+
referrerPolicy: 0,
11941195
rel: 0,
11951196
required: HAS_BOOLEAN_VALUE,
11961197
reversed: HAS_BOOLEAN_VALUE,
@@ -1531,6 +1532,8 @@
15311532
xlinkTitle: 'xlink:title',
15321533
xlinkType: 'xlink:type',
15331534
xmlBase: 'xml:base',
1535+
xmlns: 0,
1536+
xmlnsXlink: 'xmlns:xlink',
15341537
xmlLang: 'xml:lang',
15351538
xmlSpace: 'xml:space',
15361539
y: 0,

0 commit comments

Comments
 (0)