node-data-test.js revision f3a7e54fed783ecf7736b0004e4cc67314eca47d
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': 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',
});
},
}));