Index: Source/devtools/front_end/documentation/DocumentationURLProvider.js |
diff --git a/Source/devtools/front_end/documentation/DocumentationURLProvider.js b/Source/devtools/front_end/documentation/DocumentationURLProvider.js |
index bba7b65eb14fb74e722ea3375a3291d7f76dcdbc..dcff947ad7407fb9673e7acf14d773d73aacc72e 100644 |
--- a/Source/devtools/front_end/documentation/DocumentationURLProvider.js |
+++ b/Source/devtools/front_end/documentation/DocumentationURLProvider.js |
@@ -41,7 +41,7 @@ WebInspector.DocumentationURLProvider._urlFormat = "http://docs.webplatform.org/ |
WebInspector.DocumentationURLProvider.prototype = { |
/** |
* @param {string} searchTerm |
- * @return {!Array.<{url: string, name: string}>} |
+ * @return {!Array.<{url: string, name: string, searchItem: string}>} |
*/ |
itemDescriptors: function(searchTerm) |
{ |
@@ -62,7 +62,8 @@ WebInspector.DocumentationURLProvider.prototype = { |
{ |
return { |
url: String.sprintf(WebInspector.DocumentationURLProvider._urlFormat, sourceRef.url, searchTerm), |
- name: sourceRef.name |
+ name: sourceRef.name, |
+ searchItem: searchTerm |
}; |
} |
} |