sidewinderlabs / backplanejs

Other
12 stars 3 forks source link

Replace use of dot syntax with get/setAttribute() when handling MIPs #75

Open backplane-import opened 13 years ago

backplane-import commented 13 years ago

Imported from backplanejs Google Code issue 75.

Reporter markbirbeck
Date 15 Jul 2010 3:30:38 PM UTC

In various situations we set additional attributes on DOM nodes so that we can track things like Model Item Properties (or MIPs).

Most of the code to do this uses the 'dot syntax', as follows:

doc.firstChild.m_proxy

This works across the board in Ajaxslt because the DOM is in JavaScript. But as we try to switch to native XML DOM support we're finding that not all browsers support this technique.

We should therefore use standard W3C DOM techniques for assigning and reading values so that this works in all browsers.


Owner set to ----

Ticket status set to Accepted

Priority: Medium Type: Enhancement

backplane-import commented 13 years ago

Comment by creaven on 3 Aug 2010 5:40:30 PM UTC

fixed in issue 50