Skip to content

Instantly share code, notes, and snippets.

@zarac
Created February 24, 2014 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zarac/9182054 to your computer and use it in GitHub Desktop.
Save zarac/9182054 to your computer and use it in GitHub Desktop.
favit.bookmarks(null , function(data) {
console.log('data', data)
dust.render('
for (var i = 0 ; i < data.rows.length ; i++)
$('section.bookmark').append('<article class="bookmark"><a href="' + data.rows[i].value.url + '">' + data.rows[i].value.title + '</a></article>') } )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment