Skip to content

Commit

Permalink
nit: eslint update
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchoi-dev committed Feb 20, 2024
1 parent 681dd62 commit ec14e1c
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ const STAGE_SELECTOR_ID_API_BASE = 'https://aos-stage.adobe.io/offers:search.sel
const API_KEY = 'universalPromoTerm';

function searchToObject() {
var pairs = window.location.search.substring(1).split("&"),
obj = {},
pair,
i;
const pairs = window.location.search.substring(1).split("&");
const obj = {};
let pair;

for ( i in pairs ) {
for (let i in pairs ) {
if ( pairs[i] === "" ) continue;

pair = pairs[i].split("=");
Expand Down

0 comments on commit ec14e1c

Please sign in to comment.