Comparing version 1.0.6 to 1.0.7
@@ -5,3 +5,3 @@ 'use strict'; | ||
_context: document, | ||
_context: typeof global.DOMDocument === 'undefined' ? document : global.DOMDocument, | ||
@@ -8,0 +8,0 @@ setContext: function(context) { |
{ | ||
"name": "nw-dialog", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Node Webkit Dialog", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -122,7 +122,7 @@ # nw-dialog | ||
### FolderBrowseDialog | ||
### FolderBrowserDialog | ||
Simple | ||
```JavaScript | ||
dialog.folderBrowseDialog(function(result) { | ||
dialog.folderBrowserDialog(function(result) { | ||
alert(result) | ||
@@ -135,5 +135,5 @@ }) | ||
```JavaScript | ||
dialog.folderBrowseDialog('/Users/didanurwanda', function(result) { | ||
dialog.folderBrowserDialog('/Users/didanurwanda', function(result) { | ||
alert(result) | ||
}) | ||
``` |
6226