Skip to content

Commit

Permalink
Replace require by import
Browse files Browse the repository at this point in the history
  • Loading branch information
nipher committed Jan 12, 2017
1 parent 4872a7d commit bb42ceb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/options/optCurrency.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const axios = require('axios');
const chalk = require('chalk');
const emoji = require('node-emoji');
import axios from 'axios';
import chalk from 'chalk';
import emoji from 'node-emoji';

const emojis = {
USD: 'flag-us',
Expand Down
4 changes: 2 additions & 2 deletions src/options/optDefinition.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const axios = require('axios');
const chalk = require('chalk');
import axios from 'axios';
import chalk from 'chalk';

const wordsAPIPrefix = 'https://api.pearson.com/v2/dictionaries/ldoce5/entries?';
const KEYS = {
Expand Down

0 comments on commit bb42ceb

Please sign in to comment.