Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit ec93414

Browse files
author
Brian Feister
committed
Code cleanup to pass jshint
1 parent 2580e08 commit ec93414

File tree

5 files changed

+8
-182
lines changed

5 files changed

+8
-182
lines changed

dist/select.css

Lines changed: 0 additions & 167 deletions
This file was deleted.

dist/select.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.8.3 - 2014-10-17T20:56:08.744Z
4+
* Version: 0.8.3 - 2014-10-20T13:46:05.676Z
55
* License: MIT
66
*/
77

8+
89
(function () {
910
"use strict";
1011

@@ -545,9 +546,9 @@
545546
for (var i = 0; i < ctrl.taggingTokens.tokens.length; i++) {
546547
if ( ctrl.taggingTokens.tokens[i] === KEY.MAP[e.keyCode] ) {
547548
ctrl.select(null, true);
548-
_searchInput.triggerHandler('tagged')
549+
_searchInput.triggerHandler('tagged');
549550
}
550-
};
551+
}
551552
}
552553
}
553554

@@ -1019,7 +1020,6 @@
10191020
});
10201021
}());
10211022

1022-
10231023
angular.module("ui.select").run(["$templateCache", function($templateCache) {$templateCache.put("bootstrap/choices.tpl.html","<ul class=\"ui-select-choices ui-select-choices-content dropdown-menu\" role=\"menu\" aria-labelledby=\"dLabel\" ng-show=\"$select.items.length > 0\"><li class=\"ui-select-choices-group\"><div class=\"divider\" ng-show=\"$select.isGrouped && $index > 0\"></div><div ng-show=\"$select.isGrouped\" class=\"ui-select-choices-group-label dropdown-header\">{{$group.name}}</div><div class=\"ui-select-choices-row\" ng-class=\"{active: $select.isActive(this), disabled: $select.isDisabled(this)}\"><a href=\"javascript:void(0)\" class=\"ui-select-choices-row-inner\"></a></div></li></ul>");
10241024
$templateCache.put("bootstrap/match-multiple.tpl.html","<span class=\"ui-select-match\"><span ng-repeat=\"$item in $select.selected\"><span style=\"margin-right: 3px;\" class=\"ui-select-match-item btn btn-default btn-xs\" tabindex=\"-1\" type=\"button\" ng-disabled=\"$select.disabled\" ng-click=\"$select.activeMatchIndex = $index;\" ng-class=\"{\'btn-primary\':$select.activeMatchIndex === $index}\"><span class=\"close ui-select-match-close\" ng-hide=\"$select.disabled\" ng-click=\"$select.removeChoice($index)\">&nbsp;&times;</span> <span uis-transclude-append=\"\"></span></span></span></span>");
10251025
$templateCache.put("bootstrap/match.tpl.html","<button type=\"button\" class=\"btn btn-default form-control ui-select-match\" tabindex=\"-1\" ng-hide=\"$select.open\" ng-disabled=\"$select.disabled\" ng-class=\"{\'btn-default-focus\':$select.focus}\" ;=\"\" ng-click=\"$select.activate()\"><span ng-show=\"$select.searchEnabled && $select.isEmpty()\" class=\"text-muted\">{{$select.placeholder}}</span> <span ng-hide=\"$select.isEmpty()\" ng-transclude=\"\"></span> <span class=\"caret ui-select-toggle\" ng-click=\"$select.toggle($event)\"></span></button>");

dist/select.min.css

Lines changed: 0 additions & 6 deletions
This file was deleted.

dist/select.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/select.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,12 +536,11 @@
536536
processed = _handleDropDownSelection(key);
537537
if ( ctrl.taggingTokens.isActivated ) {
538538
for (var i = 0; i < ctrl.taggingTokens.tokens.length; i++) {
539-
console.log(ctrl.taggingTokens.tokens[i])
540539
if ( ctrl.taggingTokens.tokens[i] === KEY.MAP[e.keyCode] ) {
541540
ctrl.select(null, true);
542-
_searchInput.triggerHandler('tagged')
541+
_searchInput.triggerHandler('tagged');
543542
}
544-
};
543+
}
545544
}
546545
}
547546

0 commit comments

Comments
 (0)