1
0
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:
Ruan YiFeng 2019-09-10 12:12:48 +08:00 committed by GitHub
commit 6efba60c38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1131,7 +1131,7 @@ service.employees().then(json => {
function createWebService(baseUrl) {
return new Proxy({}, {
get(target, propKey, receiver) {
return () => httpGet(baseUrl+'/' + propKey);
return () => httpGet(baseUrl + '/' + propKey);
}
});
}