Skip to content

Instantly share code, notes, and snippets.

@tamoot
Created October 29, 2010 16:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tamoot/653863 to your computer and use it in GitHub Desktop.
add_body_leave_proc do |date, idx|
if @mode =~ /day/
<<-HTML
<!-- X:S ZenBackWidget -->
<script type="text/javascript">
//zenback からのコードを整形して貼り付けただけ
</script>
<!-- X:E ZenBackWidget -->
HTML
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment