wMinor fixes in default filter (ignore 0 and '') Now is when 😛

stable
David Barragán Merino 2014-06-25 12:59:11 +02:00
parent b7d6338e12
commit 40b3e2b187
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
defaultFilter = ->
return (value, defaultValue) ->
if value in [null, undefined]
if value is [null, undefined]
return defaultValue
return value