Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
This time???
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kos committed Feb 11, 2015
1 parent 5111bb4 commit 3b3b4da
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bulbs-autocomplete",
"version": "0.1.9",
"version": "0.1.10",
"appPath": "src",
"description": "America's Finest Autocomplete module",
"main": [
Expand Down
4 changes: 2 additions & 2 deletions dist/bulbs-autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ angular.module('BulbsAutocomplete', [
// Source: .tmp/bulbs-autocomplete-templates.js
angular.module('BulbsAutocomplete').run(['$templateCache', function($templateCache) {
$templateCache.put('src/bulbs-autocomplete-suggest/bulbs-autocomplete-suggest-group-by/bulbs-autocomplete-suggest-group-by.html',
"<ul><li ng-repeat=\"group in formattedGroupedItems\"><div class=bulbs-autocomplete-group-key>{{ group[0] }}<div><ul class=bulbs-autocomplete-group-items><li ng-repeat=\"item in group[1]\" ng-click=onSelectWrapper(item) ng-class=\"{active: $parent.$parent.selectedGroupIndex === $parent.$index && $index === $parent.$parent.selectedIndex}\" ng-mouseenter=\"$parent.$parent.selectedGroupIndex = $parent.$index; $parent.$parent.selectedIndex = $index\" ng-mouseleave=\"$parent.$parent.selectedGroupIndex = -1; $parent.$parent.selectedIndex = -1\">{{ item.display }}</li></ul></div></div></li></ul>"
"<ul><li ng-repeat=\"group in formattedGroupedItems\"><div class=bulbs-autocomplete-group-key>{{ group[0] }}<div><ul class=bulbs-autocomplete-group-items><li ng-repeat=\"item in group[1]\" ng-click=\"onSelect({selection: item})\" ng-class=\"{active: $parent.$parent.selectedGroupIndex === $parent.$index && $index === $parent.$parent.selectedIndex}\" ng-mouseenter=\"$parent.$parent.selectedGroupIndex = $parent.$index; $parent.$parent.selectedIndex = $index\" ng-mouseleave=\"$parent.$parent.selectedGroupIndex = -1; $parent.$parent.selectedIndex = -1\">{{ item.display }}</li></ul></div></div></li></ul>"
);


$templateCache.put('src/bulbs-autocomplete-suggest/bulbs-autocomplete-suggest/bulbs-autocomplete-suggest.html',
"<ul><li ng-repeat=\"item in formattedItems\" ng-click=onSelectWrapper(item) ng-class=\"{active: $index === $parent.selectedIndex}\" ng-mouseenter=\"$parent.selectedIndex = $index\" ng-mouseleave=\"$parent.selectedIndex = -1\">{{ item.display }}</li></ul>"
"<ul><li ng-repeat=\"item in formattedItems\" ng-click=\"onSelect({selection: item})\" ng-class=\"{active: $index === $parent.selectedIndex}\" ng-mouseenter=\"$parent.selectedIndex = $index\" ng-mouseleave=\"$parent.selectedIndex = -1\">{{ item.display }}</li></ul>"
);

}]);
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ul class="bulbs-autocomplete-group-items">
<li
ng-repeat="item in group[1]"
ng-click="onSelect(item)"
ng-click="onSelect({selection: item})"
ng-class="{active: $parent.$parent.selectedGroupIndex === $parent.$index && $index === $parent.$parent.selectedIndex}"
ng-mouseenter="$parent.$parent.selectedGroupIndex = $parent.$index; $parent.$parent.selectedIndex = $index"
ng-mouseleave="$parent.$parent.selectedGroupIndex = -1; $parent.$parent.selectedIndex = -1">{{ item.display }}</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ul>
<li
ng-repeat="item in formattedItems"
ng-click="onSelect(item)"
ng-click="onSelect({selection: item})"
ng-class="{active: $index === $parent.selectedIndex}"
ng-mouseenter="$parent.selectedIndex = $index"
ng-mouseleave="$parent.selectedIndex = -1">{{ item.display }}</li>
Expand Down

0 comments on commit 3b3b4da

Please sign in to comment.