Skip to content

Commit

Permalink
Merge pull request #8 from simonfox/feature/class-binding
Browse files Browse the repository at this point in the history
fix(styles): replace class-name.bind with class.bind
  • Loading branch information
simonfox authored Jun 20, 2017
2 parents 07b248f + 797a4e2 commit 886b013
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ System.config({
"aurelia-pal": "npm:[email protected]",
"aurelia-polyfills": "npm:[email protected]",
"aurelia-task-queue": "npm:[email protected]",
"aurelia-templating": "npm:[email protected].1",
"aurelia-templating": "npm:[email protected].2",
"aurelia-templating-resources": "npm:[email protected]",
"npm:[email protected]": {
"aurelia-logging": "npm:[email protected]",
Expand Down Expand Up @@ -46,9 +46,9 @@ System.config({
"aurelia-pal": "npm:[email protected]",
"aurelia-path": "npm:[email protected]",
"aurelia-task-queue": "npm:[email protected]",
"aurelia-templating": "npm:[email protected].1"
"aurelia-templating": "npm:[email protected].2"
},
"npm:[email protected].1": {
"npm:[email protected].2": {
"aurelia-binding": "npm:[email protected]",
"aurelia-dependency-injection": "npm:[email protected]",
"aurelia-loader": "npm:[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"aurelia-dependency-injection": "^1.3.1",
"aurelia-pal": "^1.3.0",
"aurelia-task-queue": "^1.2.0",
"aurelia-templating": "^1.4.1",
"aurelia-templating": "^1.4.2",
"aurelia-templating-resources": "^1.4.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/autocomplete.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<require from="./autocomplete.css"></require>
<div class-name.bind="'form-group ' + (small ? 'form-group-sm' : '')">
<div class.bind="'form-group ' + (small ? 'form-group-sm' : '')">
<label if.bind="title.length > 0"
for="${'au-autocomplete-' + id}"
class="control-label">${title}</label>
Expand All @@ -20,7 +20,7 @@
ref="suggestionsUL">
<li repeat.for="suggestion of suggestions"
id.one-time="'au-autocomplate-' + id + '-suggestion-' + $index"
class-name.bind="($index === index ? 'selected ' : '') + (small ? 'small ' : '') + 'suggestion'"
class.bind="($index === index ? 'selected ' : '') + (small ? 'small ' : '') + 'suggestion'"
mousedown.delegate="suggestionClicked(suggestion)"
role="option">
<template replaceable part="suggestion" >
Expand Down

0 comments on commit 886b013

Please sign in to comment.