Skip to content

Commit d30ee71

Browse files
newsetjie
authored and
jie
committedFeb 5, 2018
1.2.13
1 parent 7547894 commit d30ee71

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed
 

‎app/api.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,9 @@ export function makeResource(url, actions, makers) {
162162
export function decorateMaker(func, rejector) {
163163
return function() {
164164
const args = Array.from(arguments);
165-
let inner = func.apply(null, args);
166165

167166
return function() {
168-
const action = inner.apply(null, Array.from(arguments));
167+
const action = func.apply(null, args)(Array.from(arguments));
169168
return action.catch(rejector);
170169
};
171170
};

‎docs/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# v1.2.11 (2018-01-11) #
2+
3+
## Other ##
4+
5+
- 1.2.11
6+
([5b49e3a](http://git.doctorwork.com/web/blade-scripts/commits/5b49e3a))
7+
- 添加patch method
8+
([d83aab6](http://git.doctorwork.com/web/blade-scripts/commits/d83aab6))
9+
10+
111
# v1.2.10 (2017-12-27) #
212

313
## Other ##

‎package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blade-scripts",
3-
"version": "1.2.12",
3+
"version": "1.2.13",
44
"description": "",
55
"main": "./dist/index.js",
66
"bin": {
@@ -97,4 +97,4 @@
9797
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
9898
}
9999
}
100-
}
100+
}

‎server/options.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { isUrl, isPureObject, relativeTo } from "./utils";
1111
const pkg = require(resolve("package.json"));
1212

1313
const _default = {
14+
spec: "1.0"
1415
version: pkg.version,
1516
mode: "spa",
1617
host: "127.0.0.1",

0 commit comments

Comments
 (0)
Please sign in to comment.