1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-14 06:38:28 +09:00

Fix typo: uplaod -> upload

This commit is contained in:
Aya Morisawa 2017-02-27 17:08:59 +09:00
parent 1efa9f8ad7
commit 68e7e70dbf
2 changed files with 6 additions and 6 deletions

View File

@ -23,10 +23,10 @@ module.exports = (I, cb, file = null) => {
api(I, 'drive/folders/create', {
name: 'アイコン'
}).then(iconFolder => {
uplaod(data, iconFolder);
upload(data, iconFolder);
});
} else {
uplaod(data, iconFolder[0]);
upload(data, iconFolder[0]);
}
});
});
@ -36,7 +36,7 @@ module.exports = (I, cb, file = null) => {
});
};
const uplaod = (data, folder) => {
const upload = (data, folder) => {
const progress = riot.mount(document.body.appendChild(document.createElement('mk-progress-dialog')), {
title: '新しいアバターをアップロードしています'
})[0];

View File

@ -23,10 +23,10 @@ module.exports = (I, cb, file = null) => {
api(I, 'drive/folders/create', {
name: 'バナー'
}).then(iconFolder => {
uplaod(data, iconFolder);
upload(data, iconFolder);
});
} else {
uplaod(data, iconFolder[0]);
upload(data, iconFolder[0]);
}
});
});
@ -36,7 +36,7 @@ module.exports = (I, cb, file = null) => {
});
};
const uplaod = (data, folder) => {
const upload = (data, folder) => {
const progress = riot.mount(document.body.appendChild(document.createElement('mk-progress-dialog')), {
title: '新しいバナーをアップロードしています'
})[0];