Skip to content

Commit

Permalink
#977 Apply linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 committed Sep 30, 2019
1 parent 259d085 commit d72c165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front/js/shared/tracking.es6
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
// until my_counter object won't be fully loaded.
// See our custom the Google Analytics code as reference implementation:
// https://github.com/fidals/refarm-site/pull/314/files
carrotquest.identify({'$phone': phone});
carrotquest.identify({ $phone: phone }); // Ignore ESLintBear (no-undef)
});
mediator.subscribe('onOrderSend', () => {
reachGoal('CMN_BUY_SEND');
Expand All @@ -60,7 +60,7 @@
mediator.subscribe('onProductDetail', (_, data) => yaTracker.detail([data]));
mediator.subscribe('onBackCallSend', (_, phone) => {
reachGoal('BACK_CALL_SEND');
carrotquest.identify({'$phone': phone});
carrotquest.identify({ $phone: phone }); // Ignore ESLintBear (no-undef)
});
mediator.subscribe('onSuccessOrder', (_, orderPositions, orderData) => {
yaTracker.purchase(orderPositions, orderData);
Expand Down

0 comments on commit d72c165

Please sign in to comment.