From 9dca817f3c72c7830974054ad50d8545f30053a5 Mon Sep 17 00:00:00 2001 From: anekos Date: Sat, 29 Jan 2011 22:03:19 +0900 Subject: migemo 依存やめる --- readcatlater.js | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) (limited to 'readcatlater.js') diff --git a/readcatlater.js b/readcatlater.js index de36b70..60ce3f1 100644 --- a/readcatlater.js +++ b/readcatlater.js @@ -1,5 +1,5 @@ /* {{{ -Copyright (c) 2008-2009, anekos. +Copyright (c) 2008-2011, anekos. All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -38,13 +38,13 @@ let PLUGIN_INFO = Read Cat Later Read it later 後で読む - 1.1.4 + 1.1.5 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) https://github.com/vimpr/vimperator-plugins/raw/master/readcatlater.js 2.4 - 2.4 + 3.0 = 0 || it.title.indexOf(t.s) >= 0 || - t.r(it.URI) || t.r(it.title)) - ? true : false); - } else { - m = function () true; - } - let result = []; let qres = history.executeQueries([query], 1, history.getNewQueryOptions()); let folderNode = qres.root; @@ -232,8 +213,7 @@ let PLUGIN_INFO = let it = {id: node.itemId, title: node.title, URI: node.uri }; - if (m(it)) - result.push(it); + result.push(it); } } @@ -247,7 +227,7 @@ let PLUGIN_INFO = context.compare = void 'meow'; context.title = ['URL', 'Title']; context.filters = [CompletionContext.Filter.textDescription]; - context.completions = RCL_Bookmarks(context.filter). + context.completions = RCL_Bookmarks(). filter(function (it) it.id). map(function (it) [it.URI, bookmarks.getItemTitle(it.id)]). reverse(); -- cgit v1.2.3