-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy path10-singular_attribute.js
More file actions
39 lines (35 loc) · 855 Bytes
/
Copy path10-singular_attribute.js
File metadata and controls
39 lines (35 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(function () {
function runningInCommonJSEnv () {
return(
(typeof require) == "function"
&&
(typeof exports) == "object"
&&
(typeof module) == "object"
);
}
if (!runningInCommonJSEnv()) {
if (!this.Tautologistics)
this.Tautologistics = {};
if (!this.Tautologistics.NodeHtmlParser)
this.Tautologistics.NodeHtmlParser = {};
if (!this.Tautologistics.NodeHtmlParser.Tests)
this.Tautologistics.NodeHtmlParser.Tests = [];
exports = {};
this.Tautologistics.NodeHtmlParser.Tests.push(exports);
}
exports.name = "Singular attribute";
exports.options = {
handler: {}
, parser: {}
};
exports.html = "<option value='foo' selected>";
exports.expected =
[ { raw: 'option value=\'foo\' selected'
, data: 'option value=\'foo\' selected'
, type: 'tag'
, name: 'option'
, attribs: { value: 'foo', selected: 'selected' }
}
];
})();