aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngResource/resource.js
diff options
context:
space:
mode:
authorBrian Ford2014-01-02 14:48:03 -0800
committerBrian Ford2014-01-02 22:59:43 -0800
commit01c5be4681e34cdc5f5c461b7a618fefe8038919 (patch)
tree0d96eb38e9df874ea9553d6caacd1275e8882855 /src/ngResource/resource.js
parentfd9a03e147aac7e952c6dda1f381fd4662276ba2 (diff)
downloadangular.js-01c5be4681e34cdc5f5c461b7a618fefe8038919.tar.bz2
fix(ngShow/ngHide, ngIf): functions with zero args should be truthy
Previously, expressions that were a function with one or more arguments evaluated to true, but functions with zero arguments evaluated to false. This behavior seems both unintentional and undesirable. This patch makes a function truthy regardless of its number of arguments. Closes #5414
Diffstat (limited to 'src/ngResource/resource.js')
0 files changed, 0 insertions, 0 deletions