aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/ngdoc.js
diff options
context:
space:
mode:
authorKen Sheedlo2013-08-08 15:46:33 -0700
committerIgor Minar2013-08-08 22:42:25 -0700
commitaf2cda3687314e13bc25b558d3fbf9c40ec46f0d (patch)
tree904b57d2ecdb2f8d0f09ec9c4d64fc2c1a60dffe /docs/src/ngdoc.js
parent4f5dfbc362d9683177708ebcc00c98cf594d1287 (diff)
downloadangular.js-af2cda3687314e13bc25b558d3fbf9c40ec46f0d.tar.bz2
fix(docs/error): make minerr ids searchable
Closes #3513
Diffstat (limited to 'docs/src/ngdoc.js')
-rw-r--r--docs/src/ngdoc.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index 177fbd21..c1ad2d1d 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -112,6 +112,10 @@ Doc.prototype = {
this.methods.forEach(function(method) {
extractWords(method.text || method.description || '');
});
+ if (this.ngdoc === 'error') {
+ words.push(this.getMinerrNamespace());
+ words.push(this.getMinerrCode());
+ }
words.sort();
return words.join(' ');
},