aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrapezoid2008-03-26 16:31:12 +0000
committertrapezoid2008-03-26 16:31:12 +0000
commitc1528da1db52f43a36bcd516b6b0884e4586d4a8 (patch)
tree587362621e9135afb39952f10644d69781899e0c
parent788db8e3829ce980fcc7bd2ac41759f2b659af93 (diff)
downloadvimperator-plugins-c1528da1db52f43a36bcd516b6b0884e4586d4a8.tar.bz2
lang/javascript/vimperator-plugins/trunk/copy.js: some fix
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@8423 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--copy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/copy.js b/copy.js
index f48ca44..f3d52dc 100644
--- a/copy.js
+++ b/copy.js
@@ -1,7 +1,7 @@
/**
* vimperator plugin
* Add `copy' command
- * For vimperator 0.6pre
+ * For vimperator 0.5.3
* @author teramako teramako@gmail.com
* @version 0.1
*
@@ -47,7 +47,7 @@ liberator.commands.addUserCommand(['copy'],'Copy to clipboard',
var isError = false;
if (special && arg){
try {
- copyString = window.eval('with(vimperator){' + arg + '}');
+ copyString = window.eval('with(liberator){' + arg + '}');
switch (typeof copyString){
case 'object':
copyString = copyString === null ? 'null' : copyString.toSource();