Remove code from localeJoin()

This commit is contained in:
Dan Stillman 2011-04-16 09:22:43 +00:00
parent ebfc57ffd2
commit 07efb5ef32

View file

@ -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);
}