Ver código fonte

[edit] style

wenliming 2 anos atrás
pai
commit
79dee7d2f8
1 arquivos alterados com 6 adições e 6 exclusões
  1. 6 6
      src/logic/background/twitter.js

+ 6 - 6
src/logic/background/twitter.js

@@ -347,7 +347,7 @@ export function onInstalledCreateTab() {
                       funcName: 'onInstalledCreateTab',
                       postId: res.postId || '',
                       shareLinkId: res.shareLinkId || '',
-                      'channal-name': res.channalName
+                      'channel-name': res.channelName
                   })
               }, 5000)
             });
@@ -452,7 +452,7 @@ export function onInstalledCreateTab() {
 
 /**
  * 在popop重新发送
- * @param {*} req 
+ * @param {*} req
  */
 export function popupRePublish(req) {
     try {
@@ -517,11 +517,11 @@ export async function setMessageCount() {
 function createAlarm() {
     try {
         let alarmInfo = {
-            //1分鐘之後開始(該值不能小於1) 
+            //1分鐘之後開始(該值不能小於1)
             delayInMinutes: 1,
-            //與上方等同的寫法是 
+            //與上方等同的寫法是
             // when : Date.now() + n,
-            //開始後每一分鐘執行一次(該值不能小于1) 
+            //開始後每一分鐘執行一次(該值不能小于1)
             periodInMinutes: 1
         };
 
@@ -740,4 +740,4 @@ const createTabShowGiveaway = (params) => {
     chrome.tabs.create({
         url: params.url,
     });
-}
+}