I'm using the Tin Can API to present results from our LRS.
From the sample statement viewer I took:
$(document).ready(function(){
TC_VIEWER = new TINCAN.Viewer();
TC_VIEWER.pageInitialize();
TC_VIEWER.searchStatements();
});
All works fine but the default presentation, particularly for date, is plain. Thought the easiest way to clean up the presentation was via a callback function on searchStatements:
$(document).ready(function(){
TC_VIEWER = new TINCAN.Viewer();
TC_VIEWER.pageInitialize();
TC_VIEWER.searchStatements(function(){
$(".date").css("color", "pink"); //test call only
});
});
But the function never appears to get called?