Skip to content

Commit

Permalink
Use double quote
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Oct 1, 2024
1 parent cd622e9 commit e978a16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const data = {
};

Office.initialize = function (reason) {
console.debug('Office.initialize reasion = ', reason);
console.debug("Office.initialize reasion = ", reason);
};

function toArray(str) {
Expand All @@ -32,7 +32,7 @@ function toArray(str) {
}

async function loadFile(url) {
console.debug('loadFile ', url);
console.debug("loadFile ", url);
try {
const response = await fetch(url);
const data = await response.text();
Expand Down Expand Up @@ -102,7 +102,7 @@ function getAllData(callback) {

// eslint-disable-next-line @typescript-eslint/no-unused-vars
function onMessageSend(event) {
console.debug('onMessageSend ', event);
console.debug("onMessageSend ", event);
getAllData(function () {
Office.context.ui.displayDialogAsync(
window.location.origin + "/dialog.html",
Expand Down Expand Up @@ -133,7 +133,7 @@ window.onMessageSend = onMessageSend;

// eslint-disable-next-line @typescript-eslint/no-unused-vars
function onNewMessageComposeCreated(event) {
console.debug('onNewMessageComposeCreated ', event);
console.debug("onNewMessageComposeCreated ", event);
Office.context.mailbox.item.subject.setAsync("新規メールの件名", function (asyncResult) {
if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {
console.log("件名が設定されました");
Expand Down

0 comments on commit e978a16

Please sign in to comment.