Add jqplot for graphing

This commit is contained in:
Nathan Gray
2011-08-09 23:10:50 +00:00
parent 9cd080e2ef
commit a30b864ddd
342 changed files with 56759 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$(document).ready(function(){
$('script.code').each(function(index) {
if ($('pre.code').eq(index).length ) {
$('pre.code').eq(index).text($(this).html());
}
else {
var str = $(this).html();
$('div.jqplot-target').eq(index).after($('<pre class="code">'+str+'</pre>'));
}
});
$(document).unload(function() {$('*').unbind(); });
});