Skip to content

Commit

Permalink
replace tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Sep 11, 2018
1 parent 7e1b8fe commit 8f55825
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions addon/mixins/hot-reload-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ export default Mixin.create({
return TEMPLATE_MATCH_REGEX;
}),
originalComponentPostfix: computed(function(){
return ORIGINAL_COMPONENT_POSTFIX;
return ORIGINAL_COMPONENT_POSTFIX;
}),
shouldExcludeComponent(parsedName) {
const excluded = get(this, 'excluded');
if (excluded.some((name) => name === parsedName.name)) {
return true;
} else {
return false;
}
const excluded = get(this, 'excluded');
if (excluded.some((name) => name === parsedName.name)) {
return true;
} else {
return false;
}
},
resolveOther(parsedName) {
captureTemplateOptions(parsedName);
Expand All @@ -43,7 +43,7 @@ export default Mixin.create({
const resolved = this._super(...arguments);
if (parsedName.type === 'component') {
if (this.shouldExcludeComponent(parsedName)) {
return this._super(parsedName);
return this._super(parsedName);
}
if (resolved) {
return this._resolveComponent(resolved, parsedName);
Expand Down

0 comments on commit 8f55825

Please sign in to comment.