1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-07 18:39:57 +00:00
TiddlyWiki5/tiddlyfox/extension/content/overlay.js
Jeremy Ruston c45b0a7641 Kicking off TiddlyFox, a Firefox extension for TiddlyWiki
Start with Mozilla's HelloWorld sample Firefox extension
2012-08-25 14:59:16 +01:00

13 lines
310 B
JavaScript

var HelloWorld = {
onLoad: function() {
// initialization code
this.initialized = true;
},
onMenuItemCommand: function() {
window.open("chrome://helloworld/content/hello.xul", "", "chrome");
}
};
window.addEventListener("load", function(e) { HelloWorld.onLoad(e); }, false);