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

dom-align-lowie8

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-align-lowie8 - npm Package Compare versions

Comparing version 1.8.0 to 1.8.4

17

es/align/align.js

@@ -156,2 +156,19 @@ /**

}
} else {
if (typeof $ !== 'undefined') {
//ie8 检查下拉空间是否可以放下
var offsetY = Math.abs(flipOffset(offset, 1)[1]);
var sourceH = utils.height(source);
var ieToolbarH = 25; //js获取ie窗口高度矫正
if ($(window).height() + $(window).scrollTop() - tgtRegion.top - sourceH - offsetY - ieToolbarH < 0) {
newElRegion.top = Math.max(0, tgtRegion.top - sourceH - offsetY);
}
//ie8 检查右侧空间是否可以放下
var offsetX = Math.abs(flipOffset(offset, 0)[0]);
var sourceW = utils.width(source);
if ($(window).width() + $(window).scrollLeft() - tgtRegion.left - sourceW - offsetX < 0) {
newElRegion.left = $(window).width() - sourceW - offsetX;
}
}
}

@@ -158,0 +175,0 @@

0

es/align/alignPoint.js

@@ -0,0 +0,0 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import utils from './utils';

@@ -0,0 +0,0 @@ import utils from './utils';

@@ -0,0 +0,0 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

@@ -0,0 +0,0 @@ # History

@@ -176,2 +176,19 @@ 'use strict';

}
} else {
if (typeof $ !== 'undefined') {
//ie8 检查下拉空间是否可以放下
var offsetY = Math.abs(flipOffset(offset, 1)[1]);
var sourceH = _utils2['default'].height(source);
var ieToolbarH = 25; //js获取ie窗口高度矫正
if ($(window).height() + $(window).scrollTop() - tgtRegion.top - sourceH - offsetY - ieToolbarH < 0) {
newElRegion.top = Math.max(0, tgtRegion.top - sourceH - offsetY);
}
//ie8 检查右侧空间是否可以放下
var offsetX = Math.abs(flipOffset(offset, 0)[0]);
var sourceW = _utils2['default'].width(source);
if ($(window).width() + $(window).scrollLeft() - tgtRegion.left - sourceW - offsetX < 0) {
newElRegion.left = $(window).width() - sourceW - offsetX;
}
}
}

@@ -178,0 +195,0 @@

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ The MIT License (MIT)

13

package.json
{
"name": "dom-align-lowie8",
"version": "1.8.0",
"version": "1.8.4",
"description": "Align DOM Node Flexibly ",

@@ -18,8 +18,5 @@ "keywords": [

"repository": {
"type": "git",
"url": "git@github.com:yiminghe/dom-align.git"
"type": "git"
},
"bugs": {
"url": "http://github.com/yiminghe/dom-align/issues"
},
"bugs": {},
"licenses": "MIT",

@@ -51,5 +48,3 @@ "config": {

},
"pre-commit": [
]
"pre-commit": []
}

@@ -0,0 +0,0 @@ # dom-align

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