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

Commit 2580e08

Browse files
author
Brian Feister
committed
Cleaning up logging, unused code
1 parent 9d0abc4 commit 2580e08

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

dist/select.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.8.3 - 2014-10-17T20:52:51.091Z
4+
* Version: 0.8.3 - 2014-10-17T20:56:08.746Z
55
* License: MIT
66
*/
77

dist/select.js

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

@@ -345,11 +345,6 @@
345345
if(ctrl.tagging.isActivated && !item && ctrl.search.length > 0) {
346346
// create new item on the fly
347347
item = ctrl.tagging.fct !== undefined ? ctrl.tagging.fct(ctrl.search) : ctrl.search;
348-
// if(ctrl.taggingTokens.isActivated) {
349-
// setTimeout(function() {}, 10);
350-
// _resetSearchInput();
351-
352-
// }
353348
}
354349

355350
var locals = {};
@@ -548,7 +543,6 @@
548543
processed = _handleDropDownSelection(key);
549544
if ( ctrl.taggingTokens.isActivated ) {
550545
for (var i = 0; i < ctrl.taggingTokens.tokens.length; i++) {
551-
console.log(ctrl.taggingTokens.tokens[i])
552546
if ( ctrl.taggingTokens.tokens[i] === KEY.MAP[e.keyCode] ) {
553547
ctrl.select(null, true);
554548
_searchInput.triggerHandler('tagged')
@@ -1025,6 +1019,7 @@
10251019
});
10261020
}());
10271021

1022+
10281023
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>");
10291024
$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>");
10301025
$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: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/select.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/select.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,6 @@
338338
if(ctrl.tagging.isActivated && !item && ctrl.search.length > 0) {
339339
// create new item on the fly
340340
item = ctrl.tagging.fct !== undefined ? ctrl.tagging.fct(ctrl.search) : ctrl.search;
341-
// if(ctrl.taggingTokens.isActivated) {
342-
// setTimeout(function() {}, 10);
343-
// _resetSearchInput();
344-
345-
// }
346341
}
347342

348343
var locals = {};

0 commit comments

Comments
 (0)