mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +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
|
@ -4,6 +4,7 @@ var Backbone = require('backbone');
|
|||
var constants = require('../util/constants');
|
||||
var util = require('../util');
|
||||
var intl = require('../intl');
|
||||
var GlobalState = require('../util/globalState');
|
||||
|
||||
/**
|
||||
* Globals
|
||||
|
@ -195,7 +196,7 @@ var initDemo = function(sandbox) {
|
|||
}
|
||||
|
||||
if (params.locale !== undefined && params.locale.length) {
|
||||
constants.GLOBAL.locale = params.locale;
|
||||
GlobalState.locale = params.locale;
|
||||
events.trigger('localeChanged');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue