Skip to content

Commit

Permalink
fix(binding): typo and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MeirionHughes committed Oct 8, 2016
1 parent 1162300 commit f286fe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/rules/binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ export class BindingRule extends ASTBuilder {
const decoratorArgumentsAsText: string[] = decoratorArguments.map((decoratorArg) => decoratorArg.text);
decoratorArgumentsAsText.forEach((computedDependencyText) => {
var exp = this.auReflection.createTextExpression(`\$\{${computedDependencyText}\}`);
if (exp){
if (exp) {
this.examineInterpolationExpression(node, exp);
}
});
Expand Down
2 changes: 1 addition & 1 deletion spec/binding.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ describe("Static-Type Binding Tests", () => {
\${value.nae}
</template>`;
let reflection = new Reflection();
let rule = new BindingRule(reflection, new AureliaReflection(), new AureliaReflection());
let rule = new BindingRule(reflection, new AureliaReflection());
let linter = new Linter([rule]);
reflection.add("./foo.ts", viewmodel);
reflection.add("./item.ts", item);
Expand Down

0 comments on commit f286fe3

Please sign in to comment.