diff options
author | portix <none@none> | 2013-02-11 13:40:37 +0100 |
---|---|---|
committer | portix <none@none> | 2013-02-11 13:40:37 +0100 |
commit | 267f396fa11dd7348cee20fceef116f78d537174 (patch) | |
tree | 31b1ed0e396b7ac8eacc50907c330039e09ee9c7 /scripts | |
parent | d3451b8d99cc09a3d1711be446dd16357247d0e5 (diff) | |
download | dwb-267f396fa11dd7348cee20fceef116f78d537174.zip |
Fixing --no-confirm commandline option in dwbem, does not delete the config
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/util.js b/scripts/lib/util.js index f104628e..3cb950b3 100644 --- a/scripts/lib/util.js +++ b/scripts/lib/util.js @@ -5,7 +5,7 @@ { value : function(f) { - if (f !== null && f !== undefined && f instanceof Function) + if (f && f instanceof Function) { var m = f.toString().match(/\{([\s\S]*)\}/m)[1]; m = m.replace(/^\s*\/\/.*$/mg, ''); |