Open main menu
Home
Random
Log in
Settings
About MozillaWiki
MozillaWiki
Search
Labs/Jetpack/Reboot/JEP/107: Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Labs/Jetpack/Reboot/JEP/107
(view source)
Revision as of 18:10, 4 February 2010
16 bytes removed
,
4 February 2010
→Page Mods Method: add
Revision as of 17:08, 4 February 2010
(
view source
)
Dandonkulous
(
talk
|
contribs
)
(
→API Methods
)
← Older edit
Revision as of 18:10, 4 February 2010
(
view source
)
Dandonkulous
(
talk
|
contribs
)
(
→Page Mods Method: add
)
Newer edit →
Line 94:
Line 94:
<pre>
<pre>
myMods.add('script', function(){
var pageLog = function(){
var pageLog = function(){
console.log('I just initialized a pageMod!');
console.log('I just initialized a pageMod!');
}
}
}
);
myMods.add('script', pageLog
);
</pre>
</pre>
Dandonkulous
1,273
edits