c8osdkjscore
Advanced tools
Comparing version 0.0.0-beta13 to 0.0.0-beta14
{ | ||
"name": "c8osdkjscore", | ||
"version": "0.0.0-beta13", | ||
"version": "0.0.0-beta14", | ||
"description": "convertigo's sdk js core", | ||
@@ -5,0 +5,0 @@ "main": "bundle/index.umd.js", |
@@ -14,3 +14,3 @@ "use strict"; | ||
var d = new Date().getTime(); | ||
if (window.performance && typeof window.performance.now === "function") { | ||
if (window["performance"] && typeof window["performance"]["now"] === "function") { | ||
d += performance.now(); | ||
@@ -17,0 +17,0 @@ } |
@@ -27,3 +27,3 @@ | ||
let d = new Date().getTime(); | ||
if (window.performance && typeof window.performance.now === "function") { | ||
if (window["performance"] && typeof window["performance"]["now"] === "function") { | ||
d += performance.now(); // use high-precision timer if available | ||
@@ -30,0 +30,0 @@ } |
Sorry, the diff of this file is not supported yet
543258