botbuilder-dialog-loader
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -22,3 +22,3 @@ module.exports = function (bot, basePath, config) { | ||
let arguments = [bot].concat(subConfig); | ||
if ( callback ) { | ||
if ( "function" == typeof callback ) { | ||
callback.apply( null, arguments); | ||
@@ -25,0 +25,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"name": "botbuilder-dialog-loader", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A Library that helps to autload Microsoft Bot Framework dialogs", | ||
@@ -9,0 +9,0 @@ "main": "botbuilder-dialog-loader.js", |
@@ -16,3 +16,4 @@ # botbuilder-dialog-loader | ||
should contain or an object (in case of folder) or an array of arguments, | ||
that will be passed to thefile. Example: | ||
that will be passed to thefile. | ||
## Configuration object Example: | ||
```javascript | ||
@@ -29,2 +30,4 @@ { | ||
The Library **will ignore** any loaded file if it will not return a callback | ||
# Usage Example | ||
@@ -31,0 +34,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40672
87