fengmk2
|
0e0cf4fdde
|
Release 1.4.4
|
2015-12-23 10:46:33 +08:00 |
ermin.zem
|
c45be8b6ea
|
fix: return empty if the key-value is empty value
PR-URL: https://github.com/koajs/locales/pull/17
Reviewed-By: fengmk2 <fengmk2@gmail.com>
Reviewed-By: dead-horse <heyiyu.deadhorse@gmail.com>
|
2015-12-23 10:45:03 +08:00 |
fengmk2
|
e4679a486d
|
Release 1.4.3
|
2015-12-09 18:26:31 +08:00 |
fengmk2
|
a796c66b6c
|
Merge pull request #16 from koajs/support-bigpipe
fix: if header sent, don't set the cookie
|
2015-12-09 18:26:03 +08:00 |
fengmk2
|
629141717e
|
fix: if header sent, don't set the cookie
bigpipe will fail
|
2015-12-09 18:23:54 +08:00 |
fengmk2
|
205a58f270
|
Merge pull request #15 from hotoo/doc
doc(options.dirs): fix api doc
|
2015-09-21 13:35:21 +08:00 |
闲耘™
|
c4323c2a15
|
doc(options.dirs): fix api doc
|
2015-09-21 09:52:19 +08:00 |
fengmk2
|
64ea46d549
|
Release 1.4.2
|
2015-09-20 22:54:04 +08:00 |
fengmk2
|
f58a5034d7
|
Merge pull request #14 from hotoo/master
refact(es6): use es6 syntax.
|
2015-09-20 22:50:20 +08:00 |
闲耘™
|
36bd1d5202
|
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.
|
2015-09-20 14:56:19 +08:00 |
fengmk2
|
eae25a474d
|
Release 1.4.1
|
2015-09-18 16:16:49 +08:00 |
fengmk2
|
04bb9daf8f
|
Merge pull request #12 from hotoo/imporve-nested
refact(nested-data): transform nested data on load localization data.
|
2015-09-18 16:15:26 +08:00 |
闲耘™
|
cc81fbda18
|
refact(nested-data): transform nested data on load localization data.
|
2015-09-18 15:14:38 +08:00 |
fengmk2
|
d5a9eb0468
|
Release 1.4.0
|
2015-09-17 23:41:23 +08:00 |
fengmk2
|
d2b6911503
|
Merge pull request #11 from huacnlee/nested-locale-names
feat: Support nested locale keys.
|
2015-09-17 23:40:44 +08:00 |
Jason Lee
|
58324a11ff
|
feat: Support nested locale keys.
Example:
```js
{
model: {
user: {
name: 'Real Name',
createdAt: 'Joined At'
}
}
}
```
```js
ctx.__('model.user.name');
ctx.__('model.user.createdAt');
```
The before:
```js
{
'model.user.name': 'Real Name',
'model.user.createdAt', 'Joined At'
}
```
Benchmarks:
```
Deeps: 9
2 tests completed.
direct read a key x 85,993,593 ops/sec ±1.89% (96 runs sampled)
by nested x 4,203,837 ops/sec ±0.98% (93 runs sampled)
```
|
2015-09-17 18:20:10 +08:00 |
fengmk2
|
1c347630f1
|
fix: readm typo
|
2015-09-15 10:32:03 +08:00 |
fengmk2
|
e7ed196836
|
Release 1.3.1
|
2015-09-15 01:11:34 +08:00 |
fengmk2
|
145272906c
|
Merge pull request #9 from koajs/bugfix-dependencies
fix: merge-descriptors should be in dependencies
|
2015-09-15 01:10:55 +08:00 |
fengmk2
|
7da34b5d6a
|
fix: merge-descriptors should be in dependencies
closes #8
|
2015-09-15 01:07:19 +08:00 |
fengmk2
|
d5417af027
|
Release 1.3.0
|
2015-09-14 17:40:34 +08:00 |
fengmk2
|
d224b85d3a
|
Merge pull request #7 from huacnlee/multiple-locale-dirs
Multiple locale paths support.
|
2015-09-14 17:39:18 +08:00 |
Jason Lee
|
5ffefcc982
|
feat: Multiple locale paths support.
|
2015-09-14 17:29:46 +08:00 |
fengmk2
|
135d55773a
|
Merge pull request #6 from hotoo/apply
refact(apply): apply is not too slow than direct call. fixed #2
|
2015-08-31 12:09:53 +08:00 |
闲耘™
|
8796cb1a3a
|
refact(apply): apply is not too slow than direct call. fixed #2
|
2015-08-31 10:36:11 +08:00 |
fengmk2
|
98f9ebcfd4
|
Release 1.2.0
|
2015-08-31 01:29:02 +08:00 |
fengmk2
|
b75534b460
|
Merge pull request #5 from hotoo/endsWith
refact(endsWith): endsWith is fast than regexp
|
2015-08-31 01:20:50 +08:00 |
闲耘™
|
3039718c1b
|
refact(endsWith): endsWith is fast than regexp
|
2015-08-30 20:48:36 +08:00 |
fengmk2
|
fe92c90b53
|
Merge pull request #4 from koajs/revert-slice-arguments
revert slice arguments to args
|
2015-07-21 01:50:09 +08:00 |
fengmk2
|
5e9a018b23
|
revert slice arguments to args
- revert 4ecffe8d22
- also add benchmark
|
2015-07-21 01:46:32 +08:00 |
Haoliang Gao
|
0b387e3940
|
Merge pull request #3 from popomore/object
feat: paramter support object
|
2015-07-16 15:32:45 +08:00 |
Haoliang Gao
|
75b7a203a0
|
Merge pull request #1 from hotoo/patch
Patch
|
2015-07-16 15:31:49 +08:00 |
popomore
|
757b28d170
|
feat: paramter support object
|
2015-07-15 22:25:23 +08:00 |
hotoo
|
4ecffe8d22
|
refact: arguments to array.
|
2015-05-21 08:39:30 +08:00 |
hotoo
|
41b16b7561
|
optimize use regexp without caught group
|
2015-05-21 08:34:36 +08:00 |
fengmk2
|
c0a48cd9a3
|
Release 1.0.2
|
2015-05-17 21:54:29 +08:00 |
fengmk2
|
a2462e6a84
|
feat: support *.properties resource files
|
2015-05-17 21:54:12 +08:00 |
fengmk2
|
1ee07403a0
|
Release 1.0.1
|
2015-05-16 22:26:18 +08:00 |
fengmk2
|
20d513f0a3
|
Optimization killers
see https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#3-managing-arguments
|
2015-05-16 22:21:00 +08:00 |
fengmk2
|
c367102c71
|
add --harmony
|
2015-05-16 22:11:22 +08:00 |
fengmk2
|
1bd4f46acb
|
Release 1.0.0
|
2015-05-16 22:10:14 +08:00 |
fengmk2
|
ce2881e72c
|
fix travis
|
2015-05-16 22:09:13 +08:00 |
fengmk2
|
15864d180d
|
first commit
|
2015-05-16 22:06:49 +08:00 |