aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authorteramako2010-08-08 07:34:47 +0000
committerteramako2010-08-08 07:34:47 +0000
commitb89117af56d8212130ac95ffb4b0a69b1bb10007 (patch)
tree0d4bd882e451e0ab80baecbfc5c6324ce26f0672 /twittperator.js
parentdfa77dc3a44dbf30767cfb5fb1f4302428a70a8d (diff)
downloadvimperator-plugins-b89117af56d8212130ac95ffb4b0a69b1bb10007.tar.bz2
fix bug: plugins[NAME] is undefined
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38223 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twittperator.js')
-rwxr-xr-xtwittperator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js
index 7b2e6ef..c0c3878 100755
--- a/twittperator.js
+++ b/twittperator.js
@@ -1511,7 +1511,7 @@ function sourceScriptFile(file) { // {{{
try {
io.source(file, false);
} finally {
- liberator.plugins[scriptName] = script;
+ liberator.plugins[scriptName] = liberator.plugins.contexts[file.path];
file.toString = toString;
}
} // }}}