closure-dom
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"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(); | ||
}; | ||
}); |
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
56022
1514