Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Fixed AdSterra Items
Browse files Browse the repository at this point in the history
  • Loading branch information
spam-n-eggs committed Jul 27, 2017
1 parent 666f51c commit 45f3054
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
<script src="services/FileDownloadService.js"></script>
<script src="services/PapaParseService.js"></script>
<script src="controllers/ParseController.js"></script>
<script src="js/adsterra.js"></script>
<script type="text/javascript" src="//www.bnserving.com/invoke.js"></script>
</head>
<body ng-controller="ParseController">
<p>This tool currently utilizes the PapaParse library in order to parse a JSON file back to CSV.<br>
Expand Down Expand Up @@ -53,6 +55,6 @@
<div>
<object class="donate" data="test.html">
</div>
<script src="js/adsterra.js"></script>

</body>
</html>
8 changes: 2 additions & 6 deletions js/adsterra.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
var atOptions =
{
var atOptions = {
'key' : 'bea857dd6ddf19a66110ab5e0a503ac9',
'format' : 'iframe',
'height' : 90,
'width' : 728,
'params' : {}
};

/* global document location*/
document.write('<script type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.bnserving.com/invoke.js"></script>');
};

0 comments on commit 45f3054

Please sign in to comment.