]> khamidou — GitHub mirrors - electron.git/commitdiff
:memo: fix a typo
authorHaojian Wu <hokein.wu@gmail.com>
Fri, 25 Sep 2015 05:13:11 +0000 (13:13 +0800)
committerHaojian Wu <hokein.wu@gmail.com>
Fri, 25 Sep 2015 05:13:11 +0000 (13:13 +0800)
interrputed => interrupted

atom/browser/api/atom_api_download_item.cc
docs/api/download-item.md

index 6b3dfbf3f7db132f4537f6a03dabf55b923dd2e8..ec4dcd84b285aba642f179f25a1becf3bf820acf 100644 (file)
@@ -30,7 +30,7 @@ struct Converter<content::DownloadItem::DownloadState> {
         download_state = "cancelled";
         break;
       case content::DownloadItem::INTERRUPTED:
-        download_state = "interrputed";
+        download_state = "interrupted";
         break;
       default:
         break;
index 5097fde83f5cefb3803f3a6bc5c376a5473f002a..53cd56cca9e584db918f1468676b8fc660ea4925 100644 (file)
@@ -39,7 +39,7 @@ Emits when the `downloadItem` gets updated.
   * `interrupted` - An error broke the connection with the file server.
 
 Emits when the download is in a terminal state. This includes a completed
-download, a cancelled download(via `downloadItem.cancel()`), and interrputed
+download, a cancelled download(via `downloadItem.cancel()`), and interrupted
 download that can't be resumed.
 
 ## Methods