mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(docs): allow periods in doc shortNames
This commit is contained in:
parent
ae2cdeb2de
commit
95102a5afe
1 changed files with 1 additions and 1 deletions
|
|
@ -1108,7 +1108,7 @@ function scenarios(docs){
|
|||
function metadata(docs){
|
||||
var pages = [];
|
||||
docs.forEach(function(doc){
|
||||
var path = (doc.name || '').split(/(\.|\:\s*)/);
|
||||
var path = (doc.name || '').split(/(\:\s*)/);
|
||||
for ( var i = 1; i < path.length; i++) {
|
||||
path.splice(i, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue