From f6f8b297b7026fb59e8bc29626a57670aa4384d9 Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 16 Feb 2010 04:37:16 +0000 Subject: hg tip 対応 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36768 d0d07461-0603-4401-acd4-de1884942a52 --- hash.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hash.js') diff --git a/hash.js b/hash.js index 04c3a99..c26d55d 100644 --- a/hash.js +++ b/hash.js @@ -32,7 +32,7 @@ hash: function getStream(path) { - let file = io.getFile(path); + let file = io.File(path); let stream = Cc["@mozilla.org/network/file-input-stream;1"] .createInstance(Ci.nsIFileInputStream); stream.init(file, 0x01, 0444, 0); @@ -81,7 +81,9 @@ hash: } }, literal: 1, - }); + }, + true + ); })(); // vim: fdm=marker sw=4 ts=4 et: -- cgit v1.2.3