Labs/Jetpack/JEP/30A: Difference between revisions

Jump to navigation Jump to search
 
Line 26: Line 26:
=== Examples ===
=== Examples ===


<pre>
<pre class="brush:js;">
jetpack.onInstall(function(){
jetpack.onInstall(function(){
   jetpack.tabs.open("http://example.com/firstRun.html" );
   jetpack.tabs.open("http://example.com/firstRun.html" );
Line 33: Line 33:




<pre>
<pre class="brush:js;">
jetpack.onInstall(function(){
jetpack.onInstall(function(){
   jetpack.notifications.show("Use the context menu, Luke!");
   jetpack.notifications.show("Use the context menu, Luke!");
});
});
</pre>
</pre>
577

edits

Navigation menu