scroll-into-view-if-needed
Advanced tools
Comparing version 2.2.9 to 2.2.10
@@ -180,3 +180,2 @@ "use strict"; | ||
exports.default = _default; | ||
module.exports = exports["default"]; | ||
exports.default = _default; |
@@ -66,3 +66,2 @@ "use strict"; | ||
var _default = scrollIntoView; | ||
exports.default = _default; | ||
module.exports = exports["default"]; | ||
exports.default = _default; |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "2.2.9", | ||
"version": "2.2.10", | ||
"main": "index.js", | ||
@@ -43,3 +43,3 @@ "module": "es/index.js", | ||
"babel-eslint": "8.2.5", | ||
"babel-plugin-add-module-exports": "0.2.1", | ||
"babel-plugin-add-module-exports": "0.3.1", | ||
"babel-plugin-dev-expression": "0.2.1", | ||
@@ -63,3 +63,3 @@ "concurrently": "3.6.0", | ||
"rollup-plugin-terser": "1.0.1", | ||
"semantic-release": "15.6.0", | ||
"semantic-release": "15.6.3", | ||
"tslint": "5.10.0", | ||
@@ -66,0 +66,0 @@ "tslint-config-prettier": "1.13.0", |
@@ -71,6 +71,6 @@ [![CircleCI Status](https://img.shields.io/circleci/project/github/stipsan/scroll-into-view-if-needed.svg?style=flat-square)](https://circleci.com/gh/stipsan/scroll-into-view-if-needed) | ||
// Even if all you do is this | ||
scrollIntoIntoView(node, { scrollMode: 'if-needed' }) | ||
scrollIntoView(node, { scrollMode: 'if-needed' }) | ||
// You end up with the same bundlesize as people who need | ||
// smooth scrolling to work in browsers that don't support it natively | ||
scrollIntoIntoView(node, { behavior: 'smooth', scrollMode: 'if-needed' }) | ||
scrollIntoView(node, { behavior: 'smooth', scrollMode: 'if-needed' }) | ||
``` | ||
@@ -77,0 +77,0 @@ |
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
60002
646