This commit is contained in:
ScreenyMcScreenface\Ryan
2017-08-08 10:08:52 +08:00
parent 8180dc9528
commit 824cbbb1cd
3 changed files with 64 additions and 427 deletions
+3 -1
View File
@@ -347,10 +347,12 @@ angular.module('quartermaester')
}
function characterPathModel(path, index) {
var reMatch = /([\w\_]+)\-\d+/.exec(path.key);
var reMatch = /([\w\_\(\)]+)\-\d+/.exec(path.key);
//console.log(reMatch[1]);
var matchingCharacter = $filter('filter')(qmData.characters, {key: reMatch[1]})[0];
var firstChapter = getChapterId(path.firstChapter);
var firstEpisode = getEpisodeId(path.firstEpisode);
console.log(path.key, qmData.waypointArrays[path.key]);
var waypoints = qmData.waypointArrays[path.key].map(waypointModel);
var icons = [];
if (path.arrows=="TRUE") icons.push({