aboutsummaryrefslogtreecommitdiffstats
path: root/i_love_echo.js
diff options
context:
space:
mode:
authoranekos2008-11-12 06:14:33 +0000
committeranekos2008-11-12 06:14:33 +0000
commitd4fd614fbce5cf6d8f57ca24920700a7a6b7a412 (patch)
tree543341ccbcc8e250d24c8464b329a39cd8527a97 /i_love_echo.js
parenta3a5299481a07bcfe5aeae857cc44263d406d627 (diff)
downloadvimperator-plugins-d4fd614fbce5cf6d8f57ca24920700a7a6b7a412.tar.bz2
ooops
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@23334 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'i_love_echo.js')
-rw-r--r--i_love_echo.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/i_love_echo.js b/i_love_echo.js
index 7380fc6..455b907 100644
--- a/i_love_echo.js
+++ b/i_love_echo.js
@@ -148,7 +148,7 @@ createPrototype($s, {
get base64() $(window.btoa(this.value)),
get encodeURICompoenent() $(encodeURIComponent(this.value)),
get MD5Hash(){
-context converter = Cc["@mozilla.org/intl/scriptableunicodeconverter"].createInstance(Ci.nsIScriptableUnicodeConverter);
+ var converter = Cc["@mozilla.org/intl/scriptableunicodeconverter"].createInstance(Ci.nsIScriptableUnicodeConverter);
converter.charset = "UTF-8";
var result = {};
var data = converter.convertToByteArray(this.value, result);
@@ -211,7 +211,7 @@ createPrototype($a, {
return this;
},
get first() $(this.value[0]),
- get last() $(this.value[this.length - 1])
+ get last() $(this.value[this.length - 1]),
});
// }}}