diff options
| author | Igor Minar | 2012-08-31 16:29:49 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-09-04 11:11:09 -0700 | 
| commit | b8fac353f07c00c21a16926740aaec4b1c8cb487 (patch) | |
| tree | 7eaf3ad5d6e2b68923a61ab7736eb61d39822e54 /docs/src | |
| parent | b22308152f0befb90defa8e88f96171841791063 (diff) | |
| download | angular.js-b8fac353f07c00c21a16926740aaec4b1c8cb487.tar.bz2 | |
chore(docs): don't rewrite colons in doc filenames
Diffstat (limited to 'docs/src')
| -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()));    }); | 
