564
edits
(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> | ||
edits