mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 09:25:45 +01:00
Replace expression closures (function declarations).
Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
@@ -287,7 +287,9 @@ var Bookmarks = Module("bookmarks", {
|
||||
if (!queryURI)
|
||||
return Promise.reject();
|
||||
|
||||
function parse(req) JSON.parse(req.responseText)[1].filter(isString);
|
||||
function parse(req) {
|
||||
return JSON.parse(req.responseText)[1].filter(isString);
|
||||
}
|
||||
return this.makeSuggestions(queryURI, parse, callback);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user