Remove code from localeJoin()
This commit is contained in:
parent
ebfc57ffd2
commit
07efb5ef32
1 changed files with 1 additions and 6 deletions
|
@ -1189,8 +1189,7 @@ var Zotero = new function(){
|
|||
|
||||
|
||||
/*
|
||||
* Join the elements of an array into a string using the appropriate
|
||||
* locale direction
|
||||
* This function should be removed
|
||||
*
|
||||
* |separator| defaults to a space (not a comma like Array.join()) if
|
||||
* not specified
|
||||
|
@ -1201,10 +1200,6 @@ var Zotero = new function(){
|
|||
if (typeof separator == 'undefined') {
|
||||
separator = ' ';
|
||||
}
|
||||
if (this.dir == 'rtl') {
|
||||
arr.reverse();
|
||||
separator.split('').reverse().join('');
|
||||
}
|
||||
return arr.join(separator);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue