From 5c750bb10104aeef8fff6131e24b2889619c3ab7 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 28 Dec 2014 17:26:44 +0000 Subject: Consistent treatment of search terms; update comment.. --- lib/utils.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/utils.coffee') diff --git a/lib/utils.coffee b/lib/utils.coffee index f31370f8..1bedb3d1 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -96,8 +96,8 @@ Utils = # Creates a search URL from the given :query. createSearchUrl: (query) -> - # it would be better to pull the default search engine from chrome itself, - # but it is not clear if/how that is possible + # It would be better to pull the default search engine from chrome itself. However, unfortunately chrome + # does not provide an API for doing so. Settings.get("searchUrl") + @createSearchQuery query # Converts :string into a Google search if it's not already a URL. We don't bother with escaping characters -- cgit v1.2.3