mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-14 08:34:26 +02:00
Use Object.assign
instead of module assign
This commit is contained in:
parent
06e0f29acf
commit
58f2dc4156
4 changed files with 7 additions and 14 deletions
|
@ -4,15 +4,13 @@ var AppConstants = require('../constants/AppConstants');
|
|||
var AppDispatcher = require('../dispatcher/AppDispatcher');
|
||||
var EventEmitter = require('events').EventEmitter;
|
||||
|
||||
var assign = require('object-assign');
|
||||
|
||||
var ActionTypes = AppConstants.ActionTypes;
|
||||
|
||||
var _isAnimating = false;
|
||||
var _flipTreeY = false;
|
||||
var _numLevelsSolved = 0;
|
||||
|
||||
var GlobalStateStore = assign(
|
||||
var GlobalStateStore = Object.assign(
|
||||
{},
|
||||
EventEmitter.prototype,
|
||||
AppConstants.StoreSubscribePrototype,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue