Skip to content

Instantly share code, notes, and snippets.

@takimo
Created August 19, 2010 23:46
Show Gist options
  • Save takimo/539234 to your computer and use it in GitHub Desktop.
Save takimo/539234 to your computer and use it in GitHub Desktop.
<textarea id="textareahistory"></textarea>
<div class="diary" id="historycontroller"></div>
<script>
var textareaHistory = new TextareaHistory((document.querySelector('#historycontroller'),{
textareaRef: '#textareahistory',
delay: 1000,
max: 3
loadButtonText: "読み込む"
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment