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

Commit

Permalink
removed is_printable_character method unused
Browse files Browse the repository at this point in the history
  • Loading branch information
hugohenrique committed Apr 2, 2014
1 parent e637a1c commit 3c9c2bc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/jquery.tokeninput.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,6 @@
select_dropdown_item(dropdown_item);
}

return false;
break;

case KEY.BACKSPACE:
Expand Down Expand Up @@ -582,13 +581,6 @@
Math.max(width_left, input_resizer.width() + 30)));
}

function is_printable_character(keycode) {
return ((keycode >= 48 && keycode <= 90) || // 0-1a-z
(keycode >= 96 && keycode <= 111) || // numpad 0-9 + - / * .
(keycode >= 186 && keycode <= 192) || // ; = , - . / ^
(keycode >= 219 && keycode <= 222)); // ( \ ) '
}

function add_freetagging_tokens() {
var value = $.trim(input_box.val());
var tokens = value.split($(input).data("settings").tokenDelimiter);
Expand Down

0 comments on commit 3c9c2bc

Please sign in to comment.