Opened 3 years ago

Last modified 18 months ago

#18770 new defect

Firebug gives warning for dom-attr: "Use of getAttributeNode() is deprecated. Use getAttribute() instead."

Reported by: Fergus Hadley Owned by:
Priority: undecided Milestone: 1.14
Component: HTML Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

I am getting the folllowing error in Firebug when using dom-attr in Dojo 1.10.4: "Use of getAttributeNode() is deprecated. Use getAttribute() instead."

Source: dom-attr.js, line 35:

function _hasAttr(node, name){
	var attr = node.getAttributeNode && node.getAttributeNode(name);
	return !!attr && attr.specified; // Boolean
}

Specifically, this bit:

node.getAttributeNode(name)

Change History (2)

comment:1 Changed 3 years ago by dylan

Component: GeneralHTML
Milestone: tbd1.12

comment:2 Changed 18 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.