From 89f8c7bb53ad9719786d57f7d0c6f44a4f2ff07b Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 5 Sep 2017 09:22:23 +0800 Subject: [PATCH] Remove tabs. --- .../initializers/initialize-ad-plugin.js.es6 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/javascripts/initializers/initialize-ad-plugin.js.es6 b/assets/javascripts/initializers/initialize-ad-plugin.js.es6 index 8971918..74aac40 100644 --- a/assets/javascripts/initializers/initialize-ad-plugin.js.es6 +++ b/assets/javascripts/initializers/initialize-ad-plugin.js.es6 @@ -6,14 +6,14 @@ export default { initialize(container) { const siteSettings = container.lookup('site-settings:main'); - PostModel.reopen({ - postSpecificCountDFP: function() { + PostModel.reopen({ + postSpecificCountDFP: function() { return this.isNthPost(parseInt(siteSettings.dfp_nth_post_code)); - }.property('post_number'), + }.property('post_number'), - postSpecificCountAdsense: function() { + postSpecificCountAdsense: function() { return this.isNthPost(parseInt(siteSettings.adsense_nth_post_code)); - }.property('post_number'), + }.property('post_number'), postSpecificCountAmazon: function() { return this.isNthPost(parseInt(siteSettings.amazon_nth_post_code)); @@ -26,7 +26,7 @@ export default { return false; } } - }); + }); withPluginApi('0.1', api => { api.decorateWidget('post:after', dec => {