Socket
Socket
Sign inDemoInstall

closure-dom

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

closure-dom - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

11

package.json
{
"name": "closure-dom",
"version": "0.1.0",
"version": "0.1.1",
"description": "Closure Compiler compatible DOM methods.",

@@ -9,8 +9,6 @@ "directories": {

"repository": "https://github.com/bramstein/closure-dom.git",
"keywords": [
],
"keywords": [],
"author": "Bram Stein <b.l.stein@gmail.com> (http://www.bramstein.com/)",
"license": "BSD",
"dependencies": {
},
"dependencies": {},
"devDependencies": {

@@ -20,4 +18,3 @@ "mocha": "=2.2.1",

},
"scripts": {
}
"scripts": {}
}

@@ -99,11 +99,8 @@ goog.provide('dom');

dom.waitForBody = function (callback) {
function check() {
if (document.body) {
callback();
} else {
setTimeout(check, 0);
}
if (document.body) {
callback();
} else {
document.addEventListener('DOMContentLoaded', callback);
}
check();
};
});
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