8000
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 6f1e3d7 commit f07e87cCopy full SHA for f07e87c
themes/vue/source/js/common.js
@@ -27,7 +27,10 @@
27
}
28
29
function createSourceSearchPath(query) {
30
- return 'https://github.com/search?utf8=%E2%9C%93&q=repo%3Avuejs%2Fvue+extension%3Ajs+' + encodeURIComponent(query) + '+&type=Code'
+ query = query
31
+ .replace(/\([^\)]*?\)/g, '')
32
+ .replace(/vm\./g, 'Vue.prototype.')
33
+ return 'https://github.com/search?utf8=%E2%9C%93&q=repo%3Avuejs%2Fvue+extension%3Ajs+' + encodeURIComponent('"' + query + '"') + '&type=Code'
34
35
36
0 commit comments