]> khamidou — GitHub mirrors - electron.git/commitdiff
Remove trailing commas from dialog filters code example
authorThomas Tuts <thomas.tuts@gmail.com>
Tue, 9 Jun 2015 15:59:53 +0000 (17:59 +0200)
committerThomas Tuts <thomas.tuts@gmail.com>
Tue, 9 Jun 2015 15:59:53 +0000 (17:59 +0200)
docs/api/dialog.md

index 05b8650a019836608bf5553cb71c0b74deb4217e..f8058649ae577221578ff63ac633556c16d5b84c 100644 (file)
@@ -36,8 +36,8 @@ selected, an example is:
   filters: [
     { name: 'Images', extensions: ['jpg', 'png', 'gif'] },
     { name: 'Movies', extensions: ['mkv', 'avi', 'mp4'] },
-    { name: 'Custom File Type', extensions: ['as'] },
-  ],
+    { name: 'Custom File Type', extensions: ['as'] }
+  ]
 }
 ```