|
|
@ -54,7 +54,7 @@ function GistHandler (_window) { |
|
|
|
} |
|
|
|
} |
|
|
|
const obj = {} |
|
|
|
const obj = {} |
|
|
|
Object.keys(data.files).forEach((element) => { |
|
|
|
Object.keys(data.files).forEach((element) => { |
|
|
|
const path = element.replace('...', '/') |
|
|
|
const path = element.replace(/\.\.\./g, '/') |
|
|
|
|
|
|
|
|
|
|
|
obj['/' + 'gist-' + gistId + '/' + path] = data.files[element] |
|
|
|
obj['/' + 'gist-' + gistId + '/' + path] = data.files[element] |
|
|
|
}) |
|
|
|
}) |
|
|
|