Labs/Jetpack/JEP/22: Difference between revisions

Jump to navigation Jump to search
Line 53: Line 53:
// Write to the database
// Write to the database


jetpack.places.bookmark(); // bookmarks the current tab
jetpack.tabs.current.bookmark(); // bookmarks the current tab
// perhaps we add this functionality to the 'current tab' object or all tabs
// perhaps we add this functionality to all tabs


// results is an iterator-like object with length properties
// results is an iterator-like object with a count property


function callback(results) {
function callback(results) {
564

edits

Navigation menu