vdom-virtualize
Advanced tools
Comparing version 0.0.6 to 0.0.7
10
index.js
@@ -24,4 +24,4 @@ /*! | ||
*/ | ||
var VNode = require("vtree/vnode") | ||
, VText = require("vtree/vtext") | ||
var VNode = require("virtual-dom/vnode/vnode") | ||
, VText = require("virtual-dom/vnode/vtext") | ||
@@ -105,10 +105,10 @@ module.exports = createVNode | ||
} | ||
// Special case: attributes | ||
// some properties are only accessible via .attributes, so | ||
// some properties are only accessible via .attributes, so | ||
// that's what we'd do, if vdom-create-element could handle this. | ||
if("attributes" == propName) return | ||
if("tabIndex" == propName && el.tabIndex === -1) return | ||
// default: just copy the property | ||
@@ -115,0 +115,0 @@ obj[propName] = el[propName] |
{ | ||
"name": "vdom-virtualize", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Virtulize any DOM node and turn it into a virtual-dom node.", | ||
"main": "index.js", | ||
"dependencies": { | ||
"vtree": "0.0.14" | ||
"virtual-dom": "2.0.1" | ||
}, | ||
"devDependencies": { | ||
"vtree": "0.0.14" | ||
"virtual-dom": "2.0.1" | ||
}, | ||
@@ -12,0 +12,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6951
+ Addedvirtual-dom@2.0.1
+ Addedbrowser-split@0.0.1(transitive)
+ Addedcamelize@1.0.1(transitive)
+ Addeddom-walk@0.1.2(transitive)
+ Addederror@4.4.0(transitive)
+ Addedev-store@7.0.0(transitive)
+ Addedglobal@4.4.0(transitive)
+ Addedindividual@3.0.0(transitive)
+ Addedis-object@1.0.2(transitive)
+ Addedmin-document@2.19.0(transitive)
+ Addednext-tick@0.2.2(transitive)
+ Addedprocess@0.11.10(transitive)
+ Addedstring-template@0.2.1(transitive)
+ Addedvirtual-dom@2.0.1(transitive)
+ Addedx-is-string@0.1.0(transitive)
+ Addedxtend@4.0.2(transitive)
- Removedvtree@0.0.14
- Removedis-object@0.1.2(transitive)
- Removedvtree@0.0.14(transitive)