@invrs/ads
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -40,2 +40,4 @@ "use strict"; | ||
var _dfp = _interopRequireDefault(require("./dfp")); | ||
var _googletag = require("./googletag"); | ||
@@ -51,3 +53,3 @@ | ||
// Constants | ||
var store = (0, _dotStore.default)(); // Initializers | ||
var store = (0, _dfp.default)("article")((0, _dotStore.default)()); // Initializers | ||
@@ -74,3 +76,3 @@ init(); // Functions | ||
_context.next = 5; | ||
return store.onceEmitted("article.dfp.loaded").then(_googletag.initGoogletag); | ||
return store.withOp("*").onceEmitted("article.dfp.loaded", _googletag.initGoogletag); | ||
@@ -102,3 +104,3 @@ case 5: | ||
_context2.next = 3; | ||
return store.onceEmitted("article.iframes.".concat(id, ".").concat(event)).then(fn); | ||
return store.withOp("*").onceEmitted("article.iframes.".concat(id, ".").concat(event), fn); | ||
@@ -105,0 +107,0 @@ case 3: |
{ | ||
"name": "@invrs/ads", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Inverse ad code", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77162
22
878