📝 fix a typo

interrputed => interrupted
This commit is contained in:
Haojian Wu 2015-09-25 13:13:11 +08:00
parent 01f0643142
commit 4a64d1d946
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ struct Converter<content::DownloadItem::DownloadState> {
download_state = "cancelled"; download_state = "cancelled";
break; break;
case content::DownloadItem::INTERRUPTED: case content::DownloadItem::INTERRUPTED:
download_state = "interrputed"; download_state = "interrupted";
break; break;
default: default:
break; break;

View file

@ -39,7 +39,7 @@ Emits when the `downloadItem` gets updated.
* `interrupted` - An error broke the connection with the file server. * `interrupted` - An error broke the connection with the file server.
Emits when the download is in a terminal state. This includes a completed 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. download that can't be resumed.
## Methods ## Methods