82 |
next unless $_; |
next unless $_; |
83 |
for (@$_) { |
for (@$_) { |
84 |
delete $_->{element}; |
delete $_->{element}; |
85 |
|
$_->{is_header} = $_->{is_header} ? 1 : 0; |
86 |
} |
} |
87 |
} |
} |
88 |
} |
} |
91 |
tableToCanvas ( |
tableToCanvas ( |
92 |
'; |
'; |
93 |
print STDOUT objToJson ($table); |
print STDOUT objToJson ($table); |
94 |
print STDOUT '); |
print STDOUT ', document.body, ""); |
95 |
</script>'; |
</script>'; |
96 |
} |
} |
97 |
|
|
108 |
|
|
109 |
=head1 LICENSE |
=head1 LICENSE |
110 |
|
|
111 |
Copyright 2007 Wakaba <w@suika.fam.cx> |
Copyright 2007-2008 Wakaba <w@suika.fam.cx> |
112 |
|
|
113 |
This library is free software; you can redistribute it |
This library is free software; you can redistribute it |
114 |
and/or modify it under the same terms as Perl itself. |
and/or modify it under the same terms as Perl itself. |