diff options
| author | Igor Minar | 2012-08-31 16:29:49 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-09-04 11:08:40 -0700 |
| commit | 4015357ce5ac0a0cc32ddfe84c25945ca5eeceb6 (patch) | |
| tree | 2a396084c69817760ccf8fe4381301a646326d0b /docs/src | |
| parent | dc3d11ad194edf56c57b16e964146188c49244a0 (diff) | |
| download | angular.js-4015357ce5ac0a0cc32ddfe84c25945ca5eeceb6.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())); }); |
