Created
October 23, 2013 17:03
-
-
Save spikebrehm/7122487 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var polyglot = new Polyglot(...) | |
, eventEmitter = ...; | |
function updatePhrases(phrases) { | |
polyglot.extend(phrases); | |
eventEmitter.emit('polyglot:updatePhrases', phrases); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment