gecko/browser/base/content/tabcandy/app/overlay.js
Ian Gilman 812688ddb0 + added 2 new experiences: stacks and line
+ 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
2010-03-01 17:11:51 -08:00

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);