Add a comment pointing to Bugzilla before first use of "with ({});"

This commit is contained in:
Dan Stillman 2008-06-23 16:53:04 +00:00
parent 6f960f3e91
commit 35318a070e

View File

@ -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") {