airbnb/polyglot.js — pull request #16 by TomOne (2014-09-09 13:04:45+00:00)
Title: [GH-13] Add UMD wrapper

This makes polyglot compatible with AMD loaders (such as RequireJS).

A slightly modified version of this UMD wrapper is used:
https://github.com/umdjs/umd/blob/4a87e85450baf582005243f9e922566ef2fc533a/returnExports.js