mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-03 11:14:27 +02:00
change '_.extend' to 'Object.assign'
This commit is contained in:
parent
7ae05ce932
commit
052aa1e299
13 changed files with 27 additions and 27 deletions
|
@ -372,7 +372,7 @@ var ConfirmCancelTerminal = Backbone.View.extend({
|
|||
options = options || {};
|
||||
|
||||
this.deferred = options.deferred || Q.defer();
|
||||
this.modalAlert = new ModalAlert(_.extend(
|
||||
this.modalAlert = new ModalAlert(Object.assign(
|
||||
{},
|
||||
{ markdown: '#you sure?' },
|
||||
options
|
||||
|
@ -470,7 +470,7 @@ var NextLevelConfirm = ConfirmCancelTerminal.extend({
|
|||
'</p>';
|
||||
}
|
||||
|
||||
options = _.extend(
|
||||
options = Object.assign(
|
||||
{},
|
||||
options,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue