1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 16:57:57 +01:00

remove io.pathExists()

This commit is contained in:
Doug Kearns
2007-10-20 02:53:46 +00:00
parent 0c505415a0
commit 9873fed42c
3 changed files with 9 additions and 19 deletions

View File

@@ -636,7 +636,7 @@ const vimperator = (function() //{{{
var rc_file = vimperator.io.getRCFile();
if (rc_file)
vimperator.source(rc_file, true);
vimperator.source(rc_file.path, true);
else
vimperator.log("No user RC file found", 3);
@@ -648,7 +648,7 @@ const vimperator = (function() //{{{
if (plugin_dir)
{
var files = vimperator.io.readDirectory(plugin_dir);
var files = vimperator.io.readDirectory(plugin_dir.path);
vimperator.log("Sourcing plugin directory...", 3);
files.forEach(function(file) {
if (!file.isDirectory())