name: 'Node data',
'should return empty object when no data set': function() {
},
'should return undefined when no data field set': function() {
},
'should set data value to string': function() {
},
'should set data value to number': function() {
},
'should set data value to zero': function() {
},
'should set data value to undefined': function() {
},
'should set data value to null': function() {
},
'should set field value to string': function() {
},
'should set field name to number': function() {
},
'should set field name to zero': function() {
},
'should initialize from HTML attribute': function() {
},
'should prefer setData value to HTML attribute': function() {
},
'should return all set values': function() {
data;
foo: 'foo',
bar: 'bar',
baz: 'baz'
});
},
'should return all html data': function() {
},
'should prefer setData values to HTML attributes': function() {
foo: 'foo2',
bar: 'bar2'
});
},
'should setData on all nodes': function() {
},
'should return all html data from all nodes': function() {
'<div><em data-foo="foo" data-bar="bar" data-baz="baz"></em>' +
'<span data-foo="foo" data-bar="bar" data-baz="baz"></span></div>'
).get('children'),
},
'should prefer setData values to HTML attributes on all nodes': function() {
'<div><em data-foo="foo" data-bar="bar" data-baz="baz"></em>' +
'<span data-foo="foo" data-bar="bar" data-baz="baz"></span></div>'
).get('children');
foo: 'foo2',
bar: 'bar2'
});
},
'should clear field data': function() {
},
'should clear number field data': function() {
},
'should clear number zero field data': function() {
},
'should clear data for given field from all nodes': function() {
'<div><em></em><span></span></div>'
).get('children');
foo: 'foo',
bar: 'bar'
});
},
'should clear field data from all nodes and revert to HTML attributes': function() {
'<div><em data-foo="foo" data-bar="bar" data-baz="baz"></em>' +
'<span data-foo="foo" data-bar="bar" data-baz="baz"></span></div>'
).get('children');
foo: 'foo2',
bar: 'bar2'
});
},
'should clear all data': function() {
},
'should store data for document node': function() {
}
}));