mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-14 01:33:11 +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){
|
function metadata(docs){
|
||||||
var pages = [];
|
var pages = [];
|
||||||
docs.forEach(function(doc){
|
docs.forEach(function(doc){
|
||||||
var path = (doc.name || '').split(/(\.|\:\s*)/);
|
var path = (doc.name || '').split(/(\:\s*)/);
|
||||||
for ( var i = 1; i < path.length; i++) {
|
for ( var i = 1; i < path.length; i++) {
|
||||||
path.splice(i, 1);
|
path.splice(i, 1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue