commit 35318a070e085e3cb0228d3bd9e5e72286072934
parent 6f960f3e91fd0cde9165dc40e4989a0351ffb536
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 23 Jun 2008 16:53:04 +0000
Add a comment pointing to Bugzilla before first use of "with ({});"
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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") {