document-promises-pinkie
Advanced tools
Comparing version 3.1.4 to 3.1.5
@@ -6,3 +6,3 @@ import Promise from "pinkie-promise"; | ||
return new Promise(function(resolve) { | ||
const listener = function() { | ||
var listener = function() { | ||
if (readyState.test(document.readyState)) { | ||
@@ -9,0 +9,0 @@ document.removeEventListener(type, listener); |
{ | ||
"name": "document-promises-pinkie", | ||
"version": "3.1.4", | ||
"version": "3.1.5", | ||
"description": "Document loading states as Promises", | ||
@@ -5,0 +5,0 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com> (http://jonathantneal.com)", |
15282