mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
Merge pull request #904 from lc-soft/patch-1
docs(proxy): add spaces around the operator
This commit is contained in:
commit
6efba60c38
@ -1131,7 +1131,7 @@ service.employees().then(json => {
|
|||||||
function createWebService(baseUrl) {
|
function createWebService(baseUrl) {
|
||||||
return new Proxy({}, {
|
return new Proxy({}, {
|
||||||
get(target, propKey, receiver) {
|
get(target, propKey, receiver) {
|
||||||
return () => httpGet(baseUrl+'/' + propKey);
|
return () => httpGet(baseUrl + '/' + propKey);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user