| OLD | NEW |
| 1 <h1 class="page_title">JavaScript APIs</h1> | 1 <h1 class="page_title">JavaScript APIs</h1> |
| 2 <p class="doc-family apps"> | 2 <p class="doc-family apps"> |
| 3 Chrome provides {{platform}}s with many special-purpose APIs like | 3 Chrome provides {{platform}}s with many special-purpose APIs like |
| 4 <code>chrome.runtime</code> and <code>chrome.alarms</code>. | 4 <code>chrome.runtime</code> and <code>chrome.alarms</code>. |
| 5 </p> | 5 </p> |
| 6 | 6 |
| 7 {{?stable_apis}} | 7 {{?stable_apis}} |
| 8 <h2 id="stable_apis">Stable APIs</h2> | 8 <h2 id="stable_apis">Stable APIs</h2> |
| 9 <p> | 9 <p> |
| 10 {{+partials.api_table apis:stable_apis is_stable:true/}} | 10 {{+partials.api_table apis:stable_apis is_stable:true/}} |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 <p> | 38 <p> |
| 39 Unless the doc says otherwise, | 39 Unless the doc says otherwise, |
| 40 methods in the chrome.* APIs are <b>asynchronous</b>: | 40 methods in the chrome.* APIs are <b>asynchronous</b>: |
| 41 they return immediately, | 41 they return immediately, |
| 42 without waiting for the operation to finish. | 42 without waiting for the operation to finish. |
| 43 If you need to know the outcome of an operation, | 43 If you need to know the outcome of an operation, |
| 44 then you pass a callback function into the method. | 44 then you pass a callback function into the method. |
| 45 For more information, watch this video: | 45 For more information, watch this video: |
| 46 </p> | 46 </p> |
| 47 | 47 |
| 48 <p class="doc-family extensions"> | 48 <div class="video-container doc-family extensions"> |
| 49 <iframe title="YouTube video player" width="640" height="390" src="//www.youtube
.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe> | 49 <iframe title="YouTube video player" width="640" height="390" src="//www.youtu
be.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe> |
| 50 </p> | 50 </div> |
| OLD | NEW |