diff options
| author | Ken Sheedlo | 2013-08-08 15:46:33 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-08-08 22:42:25 -0700 | 
| commit | af2cda3687314e13bc25b558d3fbf9c40ec46f0d (patch) | |
| tree | 904b57d2ecdb2f8d0f09ec9c4d64fc2c1a60dffe /docs/src/ngdoc.js | |
| parent | 4f5dfbc362d9683177708ebcc00c98cf594d1287 (diff) | |
| download | angular.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.js | 4 | 
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(' ');    }, | 
