Add search options (for EnableHighlighting, DisableLocation..)
This commit is contained in:
parent
2d399e4d4f
commit
e2c9b5cf57
3 changed files with 4 additions and 1 deletions
|
@ -76,6 +76,7 @@ var Bing = function (options) {
|
|||
+ "?$format=json&" + qs.stringify({ "Query": "'" + query + "'" })
|
||||
+ "&$top=" + opts.top
|
||||
+ "&$skip=" + opts.skip
|
||||
+ "&Options=%27" + (opts.options || []).join('%2B') + "%27"
|
||||
+ (opts.sources ? "&Sources=%27" + opts.sources + "%27" : '')
|
||||
+ (opts.newsSortBy ? "&NewsSortBy=%27" + opts.newsSortBy + "%27" : '')
|
||||
+ (opts.newsCategory ? "&NewsCategory=%27" + opts.newsCategory + "%27" : '')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue