1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Format style

This commit is contained in:
waiting 2017-11-08 19:19:40 +08:00
parent 08a623935e
commit 5c40c2be8d
No known key found for this signature in database
GPG Key ID: 2C7023E12106AFFF

View File

@ -118,7 +118,7 @@ function loadImageAsync(url) {
```javascript
const getJSON = function(url) {
const promise = new Promise(function(resolve, reject){
const handler = function () {
const handler = function() {
if (this.readyState !== 4) {
return;
}