@financial-times/o-ads
Advanced tools
Comparing version 12.10.1 to 12.10.2
@@ -30,2 +30,14 @@ "use strict"; | ||
marks[markName] = Math.round(pMarks[0].startTime); | ||
return; | ||
} // If no mark has been found, we might be looking for a page-level | ||
// mark name, i.e. one without a suffix | ||
if (suffix) { | ||
var mNameNoSuffix = mName.replace(suffix, ''); | ||
var pMarks2 = performance.getEntriesByName(mNameNoSuffix); | ||
if (pMarks2 && pMarks2.length) { | ||
marks[markName] = Math.round(pMarks2[0].startTime); | ||
} | ||
} | ||
@@ -32,0 +44,0 @@ }); |
"use strict"; | ||
// generated by genversion | ||
module.exports = '12.10.1'; | ||
module.exports = '12.10.2'; |
@@ -26,3 +26,3 @@ { | ||
"name": "@financial-times/o-ads", | ||
"version": "12.10.1", | ||
"version": "12.10.2", | ||
"dependencies": { | ||
@@ -65,2 +65,3 @@ "ftdomdelegate": ">=2.2.0 <4.0.0", | ||
"babel-jest": "^24.8.0", | ||
"babel-plugin-rewire": "^1.2.0", | ||
"bower-resolve-webpack-plugin": "^1.0.5", | ||
@@ -67,0 +68,0 @@ "browserstack-local": "^1.3.5", |
119444
3165
35