mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 00:18:56 +02:00
Resolves #147 Flip trees upside down with flip
This commit is contained in:
parent
108937aad5
commit
937977f232
12 changed files with 61 additions and 35 deletions
|
@ -1,6 +1,7 @@
|
|||
var _ = require('underscore');
|
||||
var constants = require('../util/constants');
|
||||
var util = require('../util');
|
||||
var GlobalState = require('../util/globalState');
|
||||
|
||||
var strings = require('../intl/strings').strings;
|
||||
|
||||
|
@ -9,8 +10,8 @@ var getDefaultLocale = exports.getDefaultLocale = function() {
|
|||
};
|
||||
|
||||
var getLocale = exports.getLocale = function() {
|
||||
if (constants.GLOBAL.locale) {
|
||||
return constants.GLOBAL.locale;
|
||||
if (GlobalState.locale) {
|
||||
return GlobalState.locale;
|
||||
}
|
||||
return getDefaultLocale();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue