Skip to content

Commit

Permalink
ENGCOM-5998: Change array to object #24848
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov authored Oct 4, 2019
2 parents 61b9647 + 4dcbf78 commit 530f5ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ define([
], function (quote, defaultProcessor, totalsDefaultProvider, shippingService, cartCache, customerData) {
'use strict';

var rateProcessors = [],
totalsProcessors = [],
var rateProcessors = {},
totalsProcessors = {},

/**
* Estimate totals for shipping address and update shipping rates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define([
], function (quote, defaultProcessor, customerAddressProcessor) {
'use strict';

var processors = [];
var processors = {};

processors.default = defaultProcessor;
processors['customer-address'] = customerAddressProcessor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define([
], function (defaultProcessor) {
'use strict';

var processors = [];
var processors = {};

processors['default'] = defaultProcessor;

Expand Down

0 comments on commit 530f5ea

Please sign in to comment.