Remove unused code
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
c6d6924016
commit
70c3918a6e
@ -96,19 +96,6 @@ function getType(field) {
|
||||
return 'text';
|
||||
}
|
||||
}
|
||||
/**
|
||||
** Converts a categorical array into numeric array
|
||||
** @param array categorical values array
|
||||
**/
|
||||
function getCord(arr) {
|
||||
var newCord = [];
|
||||
var original = $.extend(true, [], arr);
|
||||
arr = jQuery.unique(arr).sort();
|
||||
$.each(original, function (index, value) {
|
||||
newCord.push(jQuery.inArray(value, arr));
|
||||
});
|
||||
return [newCord, arr, original];
|
||||
}
|
||||
|
||||
/**
|
||||
** Scrolls the view to the display section
|
||||
|
||||
Loading…
Reference in New Issue
Block a user