@odopod/odo-window-events
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -7,3 +7,3 @@ (function (global, factory) { | ||
var index$1 = throttle; | ||
var throttleit$1 = throttle; | ||
@@ -54,3 +54,3 @@ /** | ||
var index$2 = function debounce(func, wait, immediate) { | ||
var debounce = function debounce(func, wait, immediate) { | ||
var timeout, args, context, timestamp, result; | ||
@@ -223,6 +223,6 @@ if (null == wait) wait = 100; | ||
var resize = index$2(WindowEvents._callbacks.resize, WindowEvents.Timing.DEBOUNCE_TIME); | ||
var leadingResize = index$2(WindowEvents._callbacks.leadingResize, WindowEvents.Timing.DEBOUNCE_TIME, true); | ||
var scrolled = index$1(WindowEvents._callbacks.scroll, WindowEvents.Timing.THROTTLE_TIME_DEFAULT); | ||
var fastScroll = index$1(WindowEvents._callbacks.fastScroll, WindowEvents.Timing.THROTTLE_TIME_FAST); | ||
var resize = debounce(WindowEvents._callbacks.resize, WindowEvents.Timing.DEBOUNCE_TIME); | ||
var leadingResize = debounce(WindowEvents._callbacks.leadingResize, WindowEvents.Timing.DEBOUNCE_TIME, true); | ||
var scrolled = throttleit$1(WindowEvents._callbacks.scroll, WindowEvents.Timing.THROTTLE_TIME_DEFAULT); | ||
var fastScroll = throttleit$1(WindowEvents._callbacks.fastScroll, WindowEvents.Timing.THROTTLE_TIME_FAST); | ||
@@ -229,0 +229,0 @@ WindowEvents._resizeCallback = function () { |
{ | ||
"name": "@odopod/odo-window-events", | ||
"description": "Reusable, throttled events on the window object.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/odo-window-events.js", | ||
@@ -22,3 +22,2 @@ "odoModule": "src/window-events.js", | ||
}, | ||
"devDependencies": {}, | ||
"homepage": "https://github.com/odopod/code-library/tree/master/packages/odo-window-events", | ||
@@ -44,5 +43,4 @@ "files": [ | ||
"scripts": { | ||
"link-local": "node ../../scripts/link-local-packages.js", | ||
"test": "gulp code-quality test" | ||
} | ||
} |
@@ -25,2 +25,2 @@ # Odo Window Events | ||
[permalink]: https://odopod.github.io/odo/odo-window-events/ | ||
[permalink]: https://code.odopod.com/odo-window-events/ |
Sorry, the diff of this file is not supported yet
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
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
34623
7
344
1