refact(es6): use es6 syntax.

* fixed #10, But iojs-2 not support Object.assign, so use object-assign
  shim instead for now.
* use es6 syntax.
* use eslint to instead jshint.
This commit is contained in:
闲耘™
2015-09-20 14:38:07 +08:00
parent eae25a474d
commit 36bd1d5202
14 changed files with 602 additions and 279 deletions

View File

@@ -1,3 +1,5 @@
'use strict';
module.exports = {
Email: '邮箱',
'Hello %s, how are you today?': '%s今天过得如何',
@@ -5,8 +7,8 @@ module.exports = {
user: {
fields: {
name: '姓名',
gender: '性别'
}
}
}
gender: '性别',
},
},
},
};