Created
January 26, 2014 14:42
-
-
Save 0x-r4bbit/8633765 to your computer and use it in GitHub Desktop.
This file contains 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 promiseToWaitFor = (function () {$ | |
var promise = $preferredLanguage ?$ | |
langPromises[$preferredLanguage] :$ | |
langPromises[$uses];$ | |
$ | |
if (!promise) {$ | |
promise = langPromises[Storage.get($storageKey)];$ | |
}$ | |
return promise;$ | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment