commit 16e4aa05169c2744614c4ec55e535bd121199046 parent 51713c80305aeb46d2810fad66eb97ea0a62e76a Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 16 Sep 2013 02:27:01 -0400 Remove Zotero.join() Diffstat:
| M | chrome/content/zotero/xpcom/zotero.js | | | 16 | ---------------- |
1 file changed, 0 insertions(+), 16 deletions(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -69,7 +69,6 @@ Components.utils.import("resource://gre/modules/osfile.jsm"); this.setFontSize = setFontSize; this.flattenArguments = flattenArguments; this.getAncestorByTagName = getAncestorByTagName; - this.join = join; this.randomString = randomString; this.moveToUnique = moveToUnique; @@ -1614,21 +1613,6 @@ Components.utils.import("resource://gre/modules/osfile.jsm"); } - /* - * A version of join() that operates externally for use on objects other - * than arrays (e.g. _arguments_) - * - * Note that this is safer than extending Object() - */ - function join(obj, delim){ - var a = []; - for (var i=0, len=obj.length; i<len; i++){ - a.push(obj[i]); - } - return a.join(delim); - } - - /** * Generate a random string of length 'len' (defaults to 8) **/