(name, attributes)
| 1105 | |
| 1106 | HTMLString.Tag = (function() { |
| 1107 | function Tag(name, attributes) { |
| 1108 | var k, v; |
| 1109 | this._name = name.toLowerCase(); |
| 1110 | this._selfClosing = HTMLString.Tag.SELF_CLOSING[this._name] === true; |
| 1111 | this._head = null; |
| 1112 | this._attributes = {}; |
| 1113 | for (k in attributes) { |
| 1114 | v = attributes[k]; |
| 1115 | this._attributes[k] = v; |
| 1116 | } |
| 1117 | } |
| 1118 | |
| 1119 | Tag.SELF_CLOSING = { |
| 1120 | 'area': true, |
nothing calls this directly
no outgoing calls
no test coverage detected