Comparing version 1.0.0 to 1.0.1
# dom-align@1.x | ||
--- | ||
@@ -42,3 +43,4 @@ | ||
```` | ||
<script> | ||
````js | ||
function selectVal(sel){ | ||
@@ -48,5 +50,2 @@ sel = document.getElementById(sel); | ||
} | ||
</script> | ||
````js | ||
var domAlign = require('../'); | ||
@@ -53,0 +52,0 @@ document.getElementById('align').onclick = function(){ |
@@ -80,3 +80,3 @@ var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source; | ||
// https://github.com/kissyteam/kissy/issues/61 | ||
if ((computedStyle = (computedStyle || d.defaultView.getComputedStyleX(elem, null)))) { | ||
if ((computedStyle = (computedStyle || d.defaultView.getComputedStyle(elem, null)))) { | ||
val = computedStyle.getPropertyValue(name) || computedStyle[name]; | ||
@@ -83,0 +83,0 @@ } |
{ | ||
"name": "dom-align", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Align DOM Node Flexibly ", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# dom-align | ||
--- | ||
@@ -3,0 +4,0 @@ align source html element with target html element flexibly. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
116
0
40174