Closed talon closed 9 years ago
Is it possible to submit a change without formatting? Looks like your editor really mangled it up.
@sjlu I fixed the pertinent formatting. I can add back in the EOL whitespace if you want but my editor makes that especially difficult.
Hey @LegitTalon,
I refactored the library, let me know if what I've provided works for you. I'll close this pull request for now.
This adds
cities.find()
which can be used likecities.find({state_abbr: 'CO'})
which will give you an array of cities in Colorado. If the array has only one item in it, it just returns that item.