rogerwang/blink — pull request #1 by b1rdex (2013-09-05 02:42:57+00:00)
Title: Possibility to set default file name to write to using nwsaveas

Feature request from rogerwang/node-webkit#626 and some more. Generally I need that myself.

Now you can propose default filename for user. Examples:

1. The way it was before continues working as well
``````
User gets saveAs dialog without any proposed name

2. Proposing name:
``````
Note `nwsaveas` attribute now has file name.

3. Proposing full file path and it's name — this is actually unplanned bonus… :smile:
``````

Note you still can use nwworkingdir and add new nwsaveas filename proposing (without path) — there is no any compability break.

Compiled and tested on windows 8. Hope you merge it.