YUI.
add(
'datatable-sort-tests',
function(Y) {
name:
"DataTableSort tests",
"datatable-sort should not rely on a link in the template": function () {
recordset: [{ a:
"a1" }, { a:
"a2" }, { a:
"a3" }]
// Should not error
recordset: [{ a:
"a1" }, { a:
"a2" }, { a:
"a3" }]
},
template:
'{value}' // override the template with link });
// Should not error
}
// test direction classes
// test trigger event
// test unplug
}));
},
'@VERSION@' ,{
requires:[
'datatable-sort',
'test',
'node-event-simulate']});