Remove tabs.
This commit is contained in:
parent
47373b03a5
commit
89f8c7bb53
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in New Issue