@phosphor/signaling
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -333,2 +333,9 @@ "use strict"; | ||
/** | ||
* A function to schedule an event loop callback. | ||
*/ | ||
var schedule = (function () { | ||
var ok = typeof requestAnimationFrame === 'function'; | ||
return ok ? requestAnimationFrame : setImmediate; | ||
})(); | ||
/** | ||
* Find a connection which matches the given parameters. | ||
@@ -366,3 +373,3 @@ */ | ||
if (dirtySet.size === 0) { | ||
requestAnimationFrame(cleanupDirtySet); | ||
schedule(cleanupDirtySet); | ||
} | ||
@@ -369,0 +376,0 @@ dirtySet.add(array); |
{ | ||
"name": "@phosphor/signaling", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "PhosphorJS - Signals and Slots", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
20481
592
1