diff options
Diffstat (limited to 'docs/src/gen-docs.js')
| -rwxr-xr-x | docs/src/gen-docs.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js index c3390819..9c3ce579 100755 --- a/docs/src/gen-docs.js +++ b/docs/src/gen-docs.js @@ -23,8 +23,7 @@ writer.makeDir('build/docs/', true).then(function() { var fileFutures = []; docs.forEach(function(doc){ // this hack is here because on OSX angular.module and angular.Module map to the same file. - var id = doc.id.replace('angular.Module', 'angular.IModule'). - replace(':', '_'); // rewrite : to _ to be GAE-friendly + var id = doc.id.replace('angular.Module', 'angular.IModule'); fileFutures.push(writer.output('partials/' + doc.section + '/' + id + '.html', doc.html())); }); |
