Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 0f8c8bb

Browse files
committed
Corrected typo expireDate -> expireDateTime
1 parent 5b620fb commit 0f8c8bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/js/snowplow.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@
119119
/*
120120
* Delay/pause (blocks UI)
121121
*/
122-
if (mutSnowplowState.expireDate) {
122+
if (mutSnowplowState.expireDateTime) {
123123
// the things we do for backwards compatibility...
124124
// in ECMA-262 5th ed., we could simply use:
125-
// while (Date.now() < mutSnowplowState.expireDate) { }
125+
// while (Date.now() < mutSnowplowState.expireDateTime) { }
126126
do {
127127
now = new Date();
128-
} while (now.getTime() < mutSnowplowState.expireDate);
128+
} while (now.getTime() < mutSnowplowState.expireDateTime);
129129
}
130130
}
131131

0 commit comments

Comments
 (0)