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

raptor-dom

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raptor-dom - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

18

lib/raptor-dom_documentReady.js

@@ -15,3 +15,3 @@ /*

Previous version from Addy Osmani (https://raw.github.com/addyosmani/jquery.parts/master/jquery.documentReady.js)
This version: Patrick Steele-Idem

@@ -90,9 +90,9 @@ - Converted to CommonJS module

// Catch cases where $ is called after the
// browser event has already occurred.
if ( doc.readyState !== "loading" ) {
domReady();
}
// Mozilla, Opera and webkit nightlies currently support this event
if ( doc.addEventListener ) {
// browser event has already occurred. IE <= 10 has a bug that results in 'interactive' being assigned
// to the readyState before the DOM is really ready
if ( document.attachEvent ? document.readyState === "complete" : document.readyState !== "loading" ) {
// We will get here if the browser is IE and the readyState === 'complete' or the browser
// is not IE and the readyState === 'interactive' || 'complete'
domReady();
} else if ( doc.addEventListener ) { // Standards-based browsers support DOMContentLoaded
// Use the handy event callback

@@ -126,3 +126,3 @@ doc.addEventListener( "DOMContentLoaded", domContentLoaded, false );

listeners.push([callback, thisObj]);
if (!readyBound) {

@@ -129,0 +129,0 @@ readyBound = true;

@@ -24,3 +24,3 @@ {

},
"version": "1.0.1"
"version": "1.0.2"
}
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