Commit 06602c45 by Lee Munkyeong

コード整理

parent b32f3df0
...@@ -166,9 +166,10 @@ CHAT.uploadImage = function(formData) { ...@@ -166,9 +166,10 @@ CHAT.uploadImage = function(formData) {
} }
CHAT.createGetDataUrl = function(fileName, roomId) { CHAT.createGetDataUrl = function(fileName, roomId) {
var filePath = CMS_SERVER_URL + '/chatapi/file/getImage?sid=' + CHAT.globalLoginParameter.sid+'&fileName=' + fileName + '&roomId=' + roomId; var filePath = CMS_SERVER_URL + '/chatapi/file/getImage?sid=' + CHAT.globalLoginParameter.sid + '&fileName=' + fileName + '&roomId=' + roomId;
return filePath; return filePath;
} }
// Thumbnailのファイルを生成する。 // Thumbnailのファイルを生成する。
CHAT.createThumbnailAndUpload = function(sourceImage, callback) { CHAT.createThumbnailAndUpload = function(sourceImage, callback) {
const fileReader = new FileReader(); const fileReader = new FileReader();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment