diff options
author | Austin Morton <apmorton@users.noreply.github.com> | 2020-09-26 16:59:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 16:59:26 -0400 |
commit | 044dcfbf8885d0115e64cf75f74a0f40f54e2370 (patch) | |
tree | 1dcc3e27139600d8e85004dc2a840bb420ccc835 /lib/compilers/fake-for-test.js | |
parent | bac07fea6d2d4ed5fb7070c51e4cf3e56e3c155a (diff) | |
download | compiler-explorer-044dcfbf8885d0115e64cf75f74a0f40f54e2370.tar.gz compiler-explorer-044dcfbf8885d0115e64cf75f74a0f40f54e2370.zip |
Use ES6 Modules (#2132)
Diffstat (limited to 'lib/compilers/fake-for-test.js')
-rw-r--r-- | lib/compilers/fake-for-test.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/compilers/fake-for-test.js b/lib/compilers/fake-for-test.js index e2b1c49ae..a3f7f45a7 100644 --- a/lib/compilers/fake-for-test.js +++ b/lib/compilers/fake-for-test.js @@ -22,9 +22,9 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -const _ = require('underscore'); +import _ from 'underscore'; -class FakeCompiler { +export class FakeCompiler { static get key() { return 'fake-for-test'; } constructor(info) { @@ -63,6 +63,3 @@ class FakeCompiler { return null; } } - - -module.exports = FakeCompiler; |