We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d738b commit b8d1dd8Copy full SHA for b8d1dd8
addon/services/docs-search.js
@@ -92,14 +92,6 @@ export default Service.extend({
92
})
93
});
94
95
-function extractKeyword(keywords, position) {
96
- let start = keywords.lastIndexOf('\0', position[0]);
97
- start = start === -1 ? 0 : start;
98
- let end = keywords.indexOf('\0', position[0] + position[1]);
99
- end = end === -1 ? keywords.length : end;
100
- return keywords.slice(start, end - start);
101
-}
102
-
103
function logSnippet(doc, key, position) {
104
let field = doc[key];
105
if (!field) { return; }
0 commit comments