From 35318a070e085e3cb0228d3bd9e5e72286072934 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 23 Jun 2008 16:53:04 +0000 Subject: [PATCH] Add a comment pointing to Bugzilla before first use of "with ({});" --- chrome/content/zotero/xpcom/cite.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index c442927b2..b298f9547 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -321,6 +321,8 @@ Zotero.Cite.MIMEHandler.StreamListener.prototype.onStopRequest = function(channe * want to use the Scholar data model, but does want to use CSL in JavaScript */ Zotero.CSL = function(csl) { + // "with ({});" needed to fix default namespace scope issue + // See https://bugzilla.mozilla.org/show_bug.cgi?id=330572 default xml namespace = "http://purl.org/net/xbiblio/csl"; with ({}); if(typeof csl != "XML") {