From 07efb5ef32bd8e89b98bc4b9f9ea22988fc42d66 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 16 Apr 2011 09:22:43 +0000 Subject: [PATCH] Remove code from localeJoin() --- chrome/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 index ef14c9a7a..423be0336 100644 --- 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); }