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

move global fopen() to a slot in vimperator

This commit is contained in:
Doug Kearns
2007-08-04 12:40:44 +00:00
parent fd0b40e8fc
commit b1a0af0ad5
4 changed files with 9 additions and 9 deletions

View File

@@ -1236,7 +1236,7 @@ function isDirectory(url)
if (url.match(/^file:\/\//) || url.match(/^\//))
{
var stripedFilename = url.replace(/^(file:\/\/)?(.*)/, "$2");
var file = fopen(stripedFilename, '<');
var file = vimperator.fopen(stripedFilename, '<');
if (!file)
return false;