1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-01 17:35:49 +01:00

Simplify :displaypane argument names.

This commit is contained in:
Doug Kearns
2010-10-21 15:45:47 +11:00
parent 48dd94773e
commit 8e827b053d
4 changed files with 18 additions and 25 deletions

View File

@@ -194,16 +194,15 @@ const Config = Module("config", ConfigBase, {
document.getElementById(id).hide();
},
// FIXME: best way to format these args? Hyphenated? One word like :dialog?
/**
* @property {object} A map of display pane command argument strings to
* panel element IDs.
*/
displayPanes: {
"service pane left": "servicepane",
"content pane bottom": "displaypane_contentpane_bottom",
"service pane bottom": "displaypane_servicepane_bottom",
"right sidebar": "displaypane_right_sidebar"
"leftservice" : "servicepane",
"bottomcontent": "displaypane_contentpane_bottom",
"bottomservice": "displaypane_servicepane_bottom",
"rightsidebar" : "displaypane_right_sidebar"
}
}, {
commands: function () {