Remove unused code

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-01-18 09:27:31 +01:00
parent c6d6924016
commit 70c3918a6e

View File

@ -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