mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 23:37:58 +01:00
get rid off v.options.{g,s}etFirefoxPref and renamed it to {g,s}etPref. You shouldn't save vimperator specific preferences in the about:config anyway, but store larger things like the history in the SQLITE database.
This commit is contained in:
@@ -155,9 +155,9 @@ vimperator.IO = function () //{{{
|
||||
var pluginDir;
|
||||
|
||||
if (WINDOWS)
|
||||
pluginDir = "~/vimperator/" + directory;
|
||||
pluginDir = "~/" + vimperator.config.name.toLowerCase() + "/" + directory;
|
||||
else
|
||||
pluginDir = "~/.vimperator/" + directory;
|
||||
pluginDir = "~/." + vimperator.config.name.toLowerCase() + "/" + directory;
|
||||
|
||||
pluginDir = this.getFile(this.expandPath(pluginDir));
|
||||
|
||||
@@ -166,8 +166,8 @@ vimperator.IO = function () //{{{
|
||||
|
||||
getRCFile: function ()
|
||||
{
|
||||
var rcFile1 = this.getFile("~/.vimperatorrc");
|
||||
var rcFile2 = this.getFile("~/_vimperatorrc");
|
||||
var rcFile1 = this.getFile("~/." + vimperator.config.name.toLowerCase() + "rc");
|
||||
var rcFile2 = this.getFile("~/_" + vimperator.config.name.toLowerCase() + "rc");
|
||||
|
||||
if (WINDOWS)
|
||||
[rcFile1, rcFile2] = [rcFile2, rcFile1]
|
||||
|
||||
Reference in New Issue
Block a user