From 1b34ce8efecedf432ac7dd40efe2911a50c1370f Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 8 Sep 2011 02:24:24 +0900 Subject: スタイル名の補完に内容を表示 --- my-style.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'my-style.js') diff --git a/my-style.js b/my-style.js index 4c35e31..782ea37 100644 --- a/my-style.js +++ b/my-style.js @@ -229,9 +229,8 @@ EOM function styleNameCompleter (context) { context.completions = [ - [style.name.slice(StyleNamePrefix.length), ''] - for ([, style] in Iterator(styles)) - if (style.name.indexOf(StyleNamePrefix) === 0) + [url, css] + for ([url, css] in Iterator(Currents)) ]; } -- cgit v1.2.3