Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dom-align

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-align - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

examples/index.md
# 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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc