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

Commit

Permalink
removed n-marketing
Browse files Browse the repository at this point in the history
  • Loading branch information
jkerr321 committed Jun 16, 2017
1 parent f75e37e commit 110ad2c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions browser/js/component-initializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import tracking from '../../components/n-ui/tracking';
import date from 'o-date';
import header from '../../components/n-ui/header';
import oCookieMessage from 'o-cookie-message';
import subscriptionOfferPrompt from 'n-marketing';
import footer from '../../components/n-ui/footer';
import offlineToast from '../../components/n-ui/offline-toast';
import { lazyLoad as lazyLoadImages } from 'n-image';
Expand All @@ -22,7 +21,6 @@ export const presets = {
footer: true,
date: true,
cookieMessage: true,
subscriptionOfferPrompt: true,
ads: true,
tooltip: true,
syndication: true
Expand Down Expand Up @@ -128,11 +126,6 @@ export class ComponentInitializer {
this.initializedFeatures.cookieMessage = true;
}

if (config.features.subscriptionOfferPrompt && !this.initializedFeatures.subscriptionOfferPrompt) {
subscriptionOfferPrompt({flags});
this.initializedFeatures.subscriptionOfferPrompt = true;
}

if (config.features.syndication && !this.initializedFeatures.syndication){
syndication.init(flags);
this.initializedFeatures.syndication = true;
Expand Down

0 comments on commit 110ad2c

Please sign in to comment.