Use import syntax

This commit is contained in:
Blade Barringer
2015-09-19 19:45:53 -05:00
parent b7cd46a6fe
commit 301ce56a5b
6 changed files with 7 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
let each = require('lodash').each; import {each} from 'lodash';
let t = require('../helpers/translator'); import t from '../helpers/translator';
const DROP_EGGS = [ const DROP_EGGS = [
'Wolf', 'Wolf',

View File

@@ -1,4 +1,4 @@
let t = require('./helpers/translator'); import t from './helpers/translator';
const NUMBER_OF_QUESTIONS = 12; const NUMBER_OF_QUESTIONS = 12;

View File

@@ -1,7 +1,5 @@
'use strict';
require('coffee-script'); require('coffee-script');
var i18n = require('../../../../script/i18n.coffee'); import i18n from '../../../../script/i18n.coffee';
var t = function(string, vars) { var t = function(string, vars) {
var func = function(lang) { var func = function(lang) {

View File

@@ -1,4 +1,4 @@
let each = require('lodash').each; import {each} from 'lodash';
let mysterySets = { let mysterySets = {
201402: { 201402: {

View File

@@ -1,6 +1,4 @@
'use strict'; import t from '../helpers/translator';
var t = require('../helpers/translator.js');
/* /*
--------------------------------------------------------------- ---------------------------------------------------------------

View File

@@ -1,4 +1,4 @@
let t = require('./helpers/translator'); import t from './helpers/translator';
let stable = { let stable = {
pets: { pets: {