www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 07efb5ef32bd8e89b98bc4b9f9ea22988fc42d66
parent ebfc57ffd27aac26d368ff02e0e430b76b3709a5
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 16 Apr 2011 09:22:43 +0000

Remove code from localeJoin()


Diffstat:
Mchrome/content/zotero/xpcom/zotero.js | 7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -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); }