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

Commit 3fda7a8

Browse files
committed
Remove unused variables
1 parent 250cb4b commit 3fda7a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/angularjs-dropdown-multiselect.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ directiveModule.directive('ngDropdownMultiselect', ['$filter', '$document', '$co
269269
var paddingWidth = 12 * 2,
270270
borderWidth = 1 * 2,
271271
dropdownIconWidth = 8;
272-
var ellipsisWidth = textWidth("...");
273272
var widthLimit = $element[0].offsetWidth - paddingWidth - borderWidth - dropdownIconWidth;
274273

275274
var itemsText = [];
@@ -290,7 +289,6 @@ directiveModule.directive('ngDropdownMultiselect', ['$filter', '$document', '$co
290289

291290
var result = itemsText.join(', ');
292291
var index = result.length - 4;
293-
var countLimit = 100;
294292
if ($element[0].offsetWidth === 0)
295293
return result;
296294
while (textWidth(result) > widthLimit) {

0 commit comments

Comments
 (0)