Remove tabs.

This commit is contained in:
Guo Xiang Tan 2017-09-05 09:22:23 +08:00
parent 47373b03a5
commit 89f8c7bb53
1 changed files with 6 additions and 6 deletions

View File

@ -6,14 +6,14 @@ export default {
initialize(container) { initialize(container) {
const siteSettings = container.lookup('site-settings:main'); const siteSettings = container.lookup('site-settings:main');
PostModel.reopen({ PostModel.reopen({
postSpecificCountDFP: function() { postSpecificCountDFP: function() {
return this.isNthPost(parseInt(siteSettings.dfp_nth_post_code)); 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)); return this.isNthPost(parseInt(siteSettings.adsense_nth_post_code));
}.property('post_number'), }.property('post_number'),
postSpecificCountAmazon: function() { postSpecificCountAmazon: function() {
return this.isNthPost(parseInt(siteSettings.amazon_nth_post_code)); return this.isNthPost(parseInt(siteSettings.amazon_nth_post_code));
@ -26,7 +26,7 @@ export default {
return false; return false;
} }
} }
}); });
withPluginApi('0.1', api => { withPluginApi('0.1', api => {
api.decorateWidget('post:after', dec => { api.decorateWidget('post:after', dec => {