chore: upgrade babel to v6

This commit is contained in:
Blade Barringer
2016-03-02 21:36:27 -06:00
parent 56e53cc95f
commit 0406142e0e
49 changed files with 94 additions and 90 deletions

View File

@@ -1,6 +1,6 @@
import i18n from '../i18n';
export default function translator (string, vars = { a: 'a' }) {
module.exports = function translator (string, vars = { a: 'a' }) {
function func (lang) {
return i18n.t(string, vars, lang);
}
@@ -8,4 +8,4 @@ export default function translator (string, vars = { a: 'a' }) {
func.i18nLangFunc = true; // Trick to recognize this type of function
return func;
}
};