mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-13 16:14:27 +02:00
before big intl merge on levels
This commit is contained in:
parent
9a497cfbad
commit
eedce6616a
10 changed files with 260 additions and 92 deletions
|
@ -16,17 +16,6 @@ exports.isBrowser = function() {
|
|||
return inBrowser;
|
||||
};
|
||||
|
||||
exports.getLocale = function() {
|
||||
if (constants.GLOBAL.locale) {
|
||||
return constants.GLOBAL.locale;
|
||||
}
|
||||
return exports.getDefaultLocale();
|
||||
};
|
||||
|
||||
exports.getDefaultLocale = function() {
|
||||
return 'en_US';
|
||||
};
|
||||
|
||||
exports.splitTextCommand = function(value, func, context) {
|
||||
func = _.bind(func, context);
|
||||
_.each(value.split(';'), function(command, index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue