Skip to content

Commit

Permalink
publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucifier129 committed Jul 30, 2016
1 parent 77f99e0 commit 7faf138
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
9 changes: 6 additions & 3 deletions dist/react-lite.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* react-lite.js v0.15.14
* react-lite.js v0.15.15
* (c) 2016 Jade Gu
* Released under the MIT License.
*/
Expand Down Expand Up @@ -45,14 +45,14 @@ function initVnode(vnode, parentContext, namespaceURI) {
// init element
node = initVelem(vnode, parentContext, namespaceURI);
} else if (vtype === VCOMPONENT) {
// init state component
// init stateful component
node = initVcomponent(vnode, parentContext, namespaceURI);
} else if (vtype === VSTATELESS) {
// init stateless component
node = initVstateless(vnode, parentContext, namespaceURI);
} else if (vtype === VCOMMENT) {
// init comment
node = document.createComment('react-empty: ' + vnode.uid);
node = document.createComment('react-text: ' + (vnode.uid || getUid()));
}
return node;
}
Expand Down Expand Up @@ -1187,6 +1187,7 @@ var HTMLDOMPropertyConfig = {
profile: 0,
radioGroup: 0,
readOnly: HAS_BOOLEAN_VALUE,
referrerPolicy: 0,
rel: 0,
required: HAS_BOOLEAN_VALUE,
reversed: HAS_BOOLEAN_VALUE,
Expand Down Expand Up @@ -1527,6 +1528,8 @@ var ATTRS = {
xlinkTitle: 'xlink:title',
xlinkType: 'xlink:type',
xmlBase: 'xml:base',
xmlns: 0,
xmlnsXlink: 'xmlns:xlink',
xmlLang: 'xml:lang',
xmlSpace: 'xml:space',
y: 0,
Expand Down
9 changes: 6 additions & 3 deletions dist/react-lite.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* react-lite.js v0.15.14
* react-lite.js v0.15.15
* (c) 2016 Jade Gu
* Released under the MIT License.
*/
Expand Down Expand Up @@ -49,14 +49,14 @@
// init element
node = initVelem(vnode, parentContext, namespaceURI);
} else if (vtype === VCOMPONENT) {
// init state component
// init stateful component
node = initVcomponent(vnode, parentContext, namespaceURI);
} else if (vtype === VSTATELESS) {
// init stateless component
node = initVstateless(vnode, parentContext, namespaceURI);
} else if (vtype === VCOMMENT) {
// init comment
node = document.createComment('react-empty: ' + vnode.uid);
node = document.createComment('react-text: ' + (vnode.uid || getUid()));
}
return node;
}
Expand Down Expand Up @@ -1191,6 +1191,7 @@
profile: 0,
radioGroup: 0,
readOnly: HAS_BOOLEAN_VALUE,
referrerPolicy: 0,
rel: 0,
required: HAS_BOOLEAN_VALUE,
reversed: HAS_BOOLEAN_VALUE,
Expand Down Expand Up @@ -1531,6 +1532,8 @@
xlinkTitle: 'xlink:title',
xlinkType: 'xlink:type',
xmlBase: 'xml:base',
xmlns: 0,
xmlnsXlink: 'xmlns:xlink',
xmlLang: 'xml:lang',
xmlSpace: 'xml:space',
y: 0,
Expand Down
Loading

0 comments on commit 7faf138

Please # to comment.