Fixed docs sample code programming error for DownloadItem
authorAlex Gleason <alex@alexgleason.me>
Tue, 19 Apr 2016 16:47:05 +0000 (12:47 -0400)
committerAlex Gleason <alex@alexgleason.me>
Tue, 19 Apr 2016 16:47:05 +0000 (12:47 -0400)
docs/api/download-item.md

index 756353b8ba3dcc8e2dfbc83ce8b57c710ce7cfbf..f117ffc57a789ee38344d5c5534dab49071477a5 100644 (file)
@@ -22,6 +22,7 @@ win.webContents.session.on('will-download', function(event, item, webContents) {
       console.log("Download is cancelled or interrupted that can't be resumed");
     }
   });
+});
 ```
 
 ## Events