Closed hershmire closed 12 years ago
Great catch. This was an issue with :each
in general. Fixed on master. NPM is giving me shit while trying to release a new version, so if you need the latest just point at the master branch until I can get this sorted out. Thanks!
0.7.0 is up on npm.
Word, thanks dude!
The standalone
:first
filter doesn't seem to be working as expected. In order to get the first object in an array I have to explicitly say:first(1)
. Below are the two examples that I tried out:This doesn't work
This works
Here's an example JSON object I'm working with:
Not sure if this is the intended use but the README doc shows that simply
:first
can be utilized so I wanted to bring it to your attention.