Labs/Jetpack/JEP/31: Difference between revisions

Jump to navigation Jump to search
(Created page with '{{draft}} == JEP 31 - Places Support == * Champion: Aza Raskin <aza at mozilla dot com> * Editors: David Dahl <ddahl at mozilla dot com> * Status: Implementing * Type: API Trac…')
 
Line 21: Line 21:


<pre class="brush:js;">
<pre class="brush:js;">
// let's work out the minimal amount of API here
// let's work out the minimal amount of API here
}
 
jetpack.places.find(cnn.com); // searches both History and Bookmarks
 
jetpack.history.find("cnn.com"); // only search history
 
jetpack.bookmarks.find("cnn.com") // only search bookmarks
 
</pre>
</pre>
564

edits

Navigation menu