Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

Commit 3c9c2bc

Browse files
committed
removed is_printable_character method unused
1 parent e637a1c commit 3c9c2bc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/jquery.tokeninput.js

-8
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@
322322
select_dropdown_item(dropdown_item);
323323
}
324324

325-
return false;
326325
break;
327326

328327
case KEY.BACKSPACE:
@@ -582,13 +581,6 @@
582581
Math.max(width_left, input_resizer.width() + 30)));
583582
}
584583

585-
function is_printable_character(keycode) {
586-
return ((keycode >= 48 && keycode <= 90) || // 0-1a-z
587-
(keycode >= 96 && keycode <= 111) || // numpad 0-9 + - / * .
588-
(keycode >= 186 && keycode <= 192) || // ; = , - . / ^
589-
(keycode >= 219 && keycode <= 222)); // ( \ ) '
590-
}
591-
592584
function add_freetagging_tokens() {
593585
var value = $.trim(input_box.val());
594586
var tokens = value.split($(input).data("settings").tokenDelimiter);

0 commit comments

Comments
 (0)