From 77d0e0610dbc1ed3e2bece1c59b1da8632d5ef2b Mon Sep 17 00:00:00 2001 From: Rich Snapp Date: Mon, 30 Apr 2018 13:19:39 -0600 Subject: [PATCH] fixing getintent to use utils.isInteger to fix browserstack tests --- modules/getintentBidAdapter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/getintentBidAdapter.js b/modules/getintentBidAdapter.js index 0bee2734d01..611e8eebd6e 100644 --- a/modules/getintentBidAdapter.js +++ b/modules/getintentBidAdapter.js @@ -1,4 +1,5 @@ import { registerBidder } from 'src/adapters/bidderFactory'; +import { isInteger } from 'src/utils'; const BIDDER_CODE = 'getintent'; const IS_NET_REVENUE = true; @@ -142,7 +143,7 @@ function parseSize(s) { * */ function produceSize (sizes) { function sizeToStr(s) { - if (Array.isArray(s) && s.length === 2 && Number.isInteger(s[0]) && Number.isInteger(s[1])) { + if (Array.isArray(s) && s.length === 2 && isInteger(s[0]) && isInteger(s[1])) { return s.join('x'); } else { throw "Malformed parameter 'sizes'";