|
Last change
on this file since cdcff72 was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
239 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | 'use strict';
|
|---|
| 2 | const path = require('path');
|
|---|
| 3 | const binaryExtensions = require('binary-extensions');
|
|---|
| 4 |
|
|---|
| 5 | const extensions = new Set(binaryExtensions);
|
|---|
| 6 |
|
|---|
| 7 | module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase());
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.