polotek/libxmljs — Issue #118: libXml.Attribute() ==> #<Object> has no method 'Attribute'
Author: metamind
Created: 2012-03-02 12:41:24+00:00
State: open

Hi,

Just migrating from node 4.x to node 6.x. I have a wrapper class that gives a more dom like api and it all used to work. I have a function:

CeXmlNode.prototype.setAttribute = function(id, value) {
libXml.Attribute(this.libXmlNode, id, value)
}

Now when this is called I get:

TypeError: Object #