Skip to content

Instantly share code, notes, and snippets.

@ebith
Created July 1, 2013 02:56
Show Gist options
  • Select an option

  • Save ebith/5898085 to your computer and use it in GitHub Desktop.

Select an option

Save ebith/5898085 to your computer and use it in GitHub Desktop.
diff -r 20ce96a7a44f common/content/base.js
--- a/common/content/base.js Thu May 30 23:32:20 2013 +0900
+++ b/common/content/base.js Mon Jul 01 11:50:38 2013 +0900
@@ -67,7 +67,7 @@
})();
if (isinstance(obj, [HTMLCollection, NodeList]))
return (node for (node of obj));
- if (obj instanceof NamedNodeMap)
+ if (obj instanceof MozNamedAttrMap)
return (function () {
for (let i = 0, len = obj.length; i < len; ++i)
yield [obj[i].name, obj[i]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment