From b9b25b555c38af923a9f644a1dc4d2fa2f652ccf Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 16 Mar 2010 11:46:49 +0000 Subject: :xhintdo modules を参照できる様に git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37036 d0d07461-0603-4401-acd4-de1884942a52 --- x-hint.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'x-hint.js') diff --git a/x-hint.js b/x-hint.js index a6fb519..054c8ca 100755 --- a/x-hint.js +++ b/x-hint.js @@ -158,10 +158,7 @@ let INFO = 'x-hint-do', 'X-Hint DO', function (elem) { - let context = { - __proto__: elem, - $: elem - }; + let context = {__proto__: modules.userContext, elem: elem}; try { liberator.eval(js, context); } catch (e) { -- cgit v1.2.3