(slug, extension)
| 168 | } |
| 169 | |
| 170 | isAuxResource (slug, extension) { |
| 171 | let test = false |
| 172 | for (const item in AUXILIARY_RESOURCES) { |
| 173 | if (slug.endsWith(AUXILIARY_RESOURCES[item]) || extension === AUXILIARY_RESOURCES[item]) { test = true; break } |
| 174 | } |
| 175 | return test |
| 176 | } |
| 177 | |
| 178 | /** |
| 179 | * Serializes and writes a graph to the given uri, and returns the original |