Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parisholley committed Jul 16, 2020
1 parent d1abf01 commit 40270e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/mantisBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const spec = {
}
};

export function sfPostMessage($sf, width, height, callback){
export function sfPostMessage ($sf, width, height, callback) {
var viewed = false;
// eslint-disable-next-line no-undef
$sf.ext.register(width, height, function () {
Expand All @@ -283,7 +283,7 @@ export function sfPostMessage($sf, width, height, callback){
});
};

export function iframePostMessage(win, name, callback){
export function iframePostMessage (win, name, callback) {
var frames = document.getElementsByTagName('iframe');
for (var i = 0; i < frames.length; i++) {
var frame = frames[i];
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/mantisBidAdapter_spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {expect} from 'chai';
import {spec} from 'modules/mantisBidAdapter.js';
import {newBidder} from 'src/adapters/bidderFactory.js';
import {sfPostMessage, iframePostMessage} from "modules/mantisBidAdapter";
import {sfPostMessage, iframePostMessage} from 'modules/mantisBidAdapter';

describe('MantisAdapter', function () {
const adapter = newBidder(spec);
Expand Down Expand Up @@ -61,7 +61,7 @@ describe('MantisAdapter', function () {
}
]);

iframePostMessage({innerHeight: 500, innerWidth: 500},'mantis', () => viewed = true);
iframePostMessage({innerHeight: 500, innerWidth: 500}, 'mantis', () => viewed = true);

sandbox.clock.runAll();

Expand Down

0 comments on commit 40270e1

Please sign in to comment.