aboutsummaryrefslogtreecommitdiffstats
path: root/hash.js
diff options
context:
space:
mode:
authoranekos2010-02-16 04:37:16 +0000
committeranekos2010-02-16 04:37:16 +0000
commitf6f8b297b7026fb59e8bc29626a57670aa4384d9 (patch)
tree9085ffff3569e5bfa32d2c55ecb4c75c45dd8c4d /hash.js
parentaab30a78563ccbba4fb597b1ccfe2d96c1dc7659 (diff)
downloadvimperator-plugins-f6f8b297b7026fb59e8bc29626a57670aa4384d9.tar.bz2
hg tip 対応
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36768 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'hash.js')
-rw-r--r--hash.js6
1 files changed, 4 insertions, 2 deletions
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: