l20n/l20n.js — pull request #1 by stasm (2012-08-18 18:50:56+00:00)
Title: Add getAttributes method on the context object

1. add getAttributes which is used by l20n-xml.js
2. don't distinguish between a non-existing entity and a local entity. From the point of view of the user of the context, they're the same, i.e. not available.
3. don't throw on missing entities, just log a warning and gracefully return null