mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-07-07 13:52:12 +00:00
lint file
AdButler is not a whitelisted constant, access it via window.
This commit is contained in:
parent
cc09403757
commit
02f9145751
@ -76,9 +76,9 @@ export default AdComponent.extend({
|
||||
function() {
|
||||
if (this.divs.length > 0) {
|
||||
let abkw = window.abkw || "";
|
||||
AdButler.ads.push({
|
||||
window.AdButler.ads.push({
|
||||
handler: function(opt) {
|
||||
AdButler.register(
|
||||
window.AdButler.register(
|
||||
opt.place.publisherId,
|
||||
opt.place.zoneId,
|
||||
opt.place.dimensions,
|
||||
|
Loading…
x
Reference in New Issue
Block a user