From 94c5f5a77ca629f8288230972eee6257c9626ce5 Mon Sep 17 00:00:00 2001 From: hsbt Date: Fri, 28 Aug 2015 07:05:17 +0000 Subject: * lib/rdoc/*: Update rdoc master(cfffed5) https://github.com/rdoc/rdoc/pull/337 https://github.com/rdoc/rdoc/pull/367 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/generator/template/json_index/js/searcher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rdoc/generator') diff --git a/lib/rdoc/generator/template/json_index/js/searcher.js b/lib/rdoc/generator/template/json_index/js/searcher.js index f854b541d0..0419f2a117 100644 --- a/lib/rdoc/generator/template/json_index/js/searcher.js +++ b/lib/rdoc/generator/template/json_index/js/searcher.js @@ -52,13 +52,13 @@ Searcher.prototype = new function() { /* ----- Utilities ------ */ function splitQuery(query) { return jQuery.grep(query.split(/(\s+|::?|\(\)?)/), function(string) { - return string.match(/\S/) + return string.match(/\S/); }); } function buildRegexps(queries) { return jQuery.map(queries, function(query) { - return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i') + return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i'); }); } -- cgit v1.2.3