russplaysguitar / UnderscoreCF

An UnderscoreJS port for Coldfusion. Functional programming library.
http://russplaysguitar.github.com/UnderscoreCF/
MIT License
89 stars 38 forks source link

Update Underscore.cfc #44

Closed alkamin closed 10 years ago

alkamin commented 10 years ago

Fixes the filter function in 'where' to return false for any objects in collection that do not have the specified property instead of throwing an exception.

russplaysguitar commented 10 years ago

This looks like a good idea. Would you be able to add a unit test (or two) for this?

alkamin commented 10 years ago

Sure, not a problem.

alkamin commented 10 years ago

Tests are in separate commit: 981a6c7e20700802ff095f4c1515a121fe8269e3

russplaysguitar commented 10 years ago

finally got around to testing this. i really need to get this project set up with Travis CI so i don't have to do it manually. thanks!!