diff options
author | hogelog | 2009-01-17 08:16:06 +0000 |
---|---|---|
committer | hogelog | 2009-01-17 08:16:06 +0000 |
commit | 32ddd0798f1d43947d065ce56c9573bbdd7977f3 (patch) | |
tree | ed47574d1c0ea67387a897f6cf742b9304ba0066 | |
parent | 424b97b165e080b4a912fef8b4147bcea69cf1d4 (diff) | |
download | vimperator-plugins-32ddd0798f1d43947d065ce56c9573bbdd7977f3.tar.bz2 |
* const -> let
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28547 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | hash.js | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -19,11 +19,9 @@ hash: //}}} (function() { - const Crypt = Cc["@mozilla.org/security/hash;1"].createInstance(Ci.nsICryptoHash); const PR_UINT_MAX = 0xffffffff; - const Cc = Components.classes; - const Ci = Components.interfaces; - const Algos = [ + let Crypt = Cc["@mozilla.org/security/hash;1"].createInstance(Ci.nsICryptoHash); + let Algos = [ ["md2", "MD2 Algorithm"], ["md5", "MD5 Algorithm"], ["sha1", "SHA1 Algorithm"], |