mozilla/pdf.js — pull request #1336 by arturadib (2012-03-14 21:54:04+00:00)
Title: Adding new find() commands for moz-central

Follow-up from #1334.

Note that `find()` does not currently support expressions, so we have to test each file in a loop. For the second loop we use `test()`, another Unix command (http://en.wikipedia.org/wiki/Test_%28Unix%29).

/cc @notmasteryet