Compare Revisions

Listening for Load and Unload

Revision 503005:

Revision 503005 by Canuckistani on

Revision 503169:

Revision 503169 by Canuckistani on

Title:
Listening for Load and Unload
Listening for Load and Unload
Slug:
Mozilla/Add-ons/SDK/Listening_for_Load_and_Unload
Mozilla/Add-ons/SDK/Listening_for_Load_and_Unload
Content:

Revision 503005
Revision 503169
n10    <h2>n10    <h2 id="exports.main()">
n47    <h3>n47    <h3 id="options.loadReason">
n60    <h3>n60    <h3 id="options.staticArgs">
n74        <div>n74        <pre>
75          <span><a>?</a></span>75<span class="brush: js">exports.main = function (options, callbac
 >ks) {
76        </div>76  console.log(options.staticArgs.foo);
77        <table border="0" cellpadding="0" cellspacing="0">77};</span>
78          <tbody>78</pre>
79            <tr>
80              <td>
81                <div>
82                  1
83                </div>
84                <div>
85                  2
86                </div>
87                <div>
88                  3
89                </div>
90              </td>
91              <td>
92                <div>
93                  <div>
94                    <code>exports.main =</code> <code>function</c
>ode> <code>(options, callbacks) {</code> 
95                  </div>
96                  <div>
97                    <code>&nbsp;&nbsp;</code><code>console.log(op
>tions.staticArgs.foo);</code> 
98                  </div>
99                  <div>
100                    <code>};</code>
101                  </div>
102                </div>
103              </td>
104            </tr>
105          </tbody>
106        </table>
t124    <h2>t96    <h2 id="exports.onUnload()">

Back to History