mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
812688ddb0
+ updated main index.html to point to all experiences + did some file reorganization --HG-- rename : content/select/js/jquery.lasso.js => browser/base/content/tabcandy/app/jquery.lasso.js rename : browser/base/content/tabcandy/overlay.js => browser/base/content/tabcandy/app/overlay.js rename : browser/base/content/tabcandy/pixastic.js => browser/base/content/tabcandy/app/pixastic.js
16 lines
624 B
JavaScript
16 lines
624 B
JavaScript
var tabcandy = {
|
|
onLoad: function() {
|
|
// initialization code
|
|
this.initialized = true;
|
|
this.strings = document.getElementById("tabcandy-strings");
|
|
},
|
|
onMenuItemCommand: function(e) {
|
|
var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
|
|
.getService(Components.interfaces.nsIPromptService);
|
|
promptService.alert(window, this.strings.getString("helloMessageTitle"),
|
|
this.strings.getString("helloMessage"));
|
|
},
|
|
|
|
};
|
|
window.addEventListener("load", function(e) { tabcandy.onLoad(e); }, false);
|