Skip to content

Instantly share code, notes, and snippets.

@cianclarke
Created August 1, 2011 14:39
Show Gist options
  • Save cianclarke/1118254 to your computer and use it in GitHub Desktop.
Save cianclarke/1118254 to your computer and use it in GitHub Desktop.
Initialize Trendy.html
<script type="text/javascript">
// Optional functionality - a warning and an error div, can be one the same.
var trendyOptions = {
status: '#status',
warning: '#warning'
}
// Initialize trendy with a container of ID 'tweetContainer', with our options object
$t.init('#tweetContainer', trendyOptions);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment