Skip to content

Commit

Permalink
Merge pull request #21 from orange-games/dev
Browse files Browse the repository at this point in the history
Updated adblock check to cover some edge cases in how games handle fo…
  • Loading branch information
AleBles authored Jun 23, 2017
2 parents 92065c2 + 0cba267 commit 455a422
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
8 changes: 6 additions & 2 deletions build/phaser-ads.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/phaser-ads.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/phaser-ads.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@orange-games/phaser-ads",
"author": "OrangeGames",
"version": "2.1.0",
"version": "2.1.1",
"description": "A Phaser plugin for providing nice ads integration in your phaser.io game",
"contributors": [
{
Expand Down
2 changes: 2 additions & 0 deletions ts/Providers/GameDistributionAds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ module PhaserAds {
let test: HTMLElement = document.createElement('div');
test.innerHTML = ' ';
test.className = 'adsbox';
test.style.position = 'absolute';
test.style.fontSize = '10px';
document.body.appendChild(test);

// let adsEnabled: boolean;
Expand Down
2 changes: 2 additions & 0 deletions ts/Providers/Ima3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ module PhaserAds {
let test: HTMLElement = document.createElement('div');
test.innerHTML = ' ';
test.className = 'adsbox';
test.style.position = 'absolute';
test.style.fontSize = '10px';
document.body.appendChild(test);

// let adsEnabled: boolean;
Expand Down

0 comments on commit 455a422

Please sign in to comment.