소스 검색

Fix sources not appearing for the new wildcard attributions

tags/v0.1.0
Fen Dweller 5 년 전
부모
커밋
72dbd9a7b6
1개의 변경된 파일12개의 추가작업 그리고 2개의 파일을 삭제
  1. +12
    -2
      media/attribution.js

+ 12
- 2
media/attribution.js 파일 보기

@@ -11408,8 +11408,18 @@ function ownersOfFull(file) {
function sourceOf(file) {
if (attribution.files[file])
return attribution.files[file].source;
else
return undefined;
else {
const found = attribution.prefixes[Object.keys(attribution.prefixes).find(path => {
return (file.indexOf(path) == 0);
})];

if (found === undefined) {
return undefined;
} else {
return found.source;
}
}
}

prepareAttribution();

불러오는 중...
취소
저장