win: Implement the filters option.

This commit is contained in:
Cheng Zhao 2014-08-06 21:51:36 +08:00
parent 47e0a61dd8
commit fe9f94555b
2 changed files with 53 additions and 148 deletions

View file

@ -53,7 +53,7 @@ module.exports =
options ?= title: 'Save'
options.title ?= ''
options.defaultPath ?= ''
options.filter ?= []
options.filters ?= []
wrappedCallback =
if typeof callback is 'function'