Skip to content

Instantly share code, notes, and snippets.

@zarac

zarac/popup.js

Created Feb 24, 2014
Embed
What would you like to do?
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