@schibsted/account-sdk-browser 4.7.3 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es5/payment.js CHANGED
@@ -2887,22 +2887,22 @@ var createMethod = function (TYPE) {
2887
2887
  if (TYPE) {
2888
2888
  if (IS_MAP) target[index] = result; // map
2889
2889
  else if (result) switch (TYPE) {
2890
- case 3:
2891
- return true;
2892
- // some
2893
-
2894
- case 5:
2895
- return value;
2896
- // find
2897
-
2898
- case 6:
2899
- return index;
2900
- // findIndex
2901
-
2902
- case 2:
2903
- push.call(target, value);
2904
- // filter
2905
- } else if (IS_EVERY) return false; // every
2890
+ case 3:
2891
+ return true;
2892
+ // some
2893
+
2894
+ case 5:
2895
+ return value;
2896
+ // find
2897
+
2898
+ case 6:
2899
+ return index;
2900
+ // findIndex
2901
+
2902
+ case 2:
2903
+ push.call(target, value);
2904
+ // filter
2905
+ } else if (IS_EVERY) return false; // every
2906
2906
  }
2907
2907
  }
2908
2908
 
@@ -2967,9 +2967,7 @@ module.exports = function (fn, that, length) {
2967
2967
  };
2968
2968
  }
2969
2969
 
2970
- return function ()
2971
- /* ...args */
2972
- {
2970
+ return function () {
2973
2971
  return fn.apply(that, arguments);
2974
2972
  };
2975
2973
  };
@@ -5432,9 +5430,7 @@ var encode = function (input) {
5432
5430
  // Represent delta as a generalized variable-length integer.
5433
5431
  var q = delta;
5434
5432
 
5435
- for (var k = base;;
5436
- /* no condition */
5437
- k += base) {
5433
+ for (var k = base;; k += base) {
5438
5434
  var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
5439
5435
  if (q < t) break;
5440
5436
  var qMinusT = q - t;
@@ -5622,9 +5618,7 @@ var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params
5622
5618
  }); // `URLSearchParams` constructor
5623
5619
  // https://url.spec.whatwg.org/#interface-urlsearchparams
5624
5620
 
5625
- var URLSearchParamsConstructor = function URLSearchParams()
5626
- /* init */
5627
- {
5621
+ var URLSearchParamsConstructor = function URLSearchParams() {
5628
5622
  anInstance(this, URLSearchParamsConstructor, URL_SEARCH_PARAMS);
5629
5623
  var init = arguments.length > 0 ? arguments[0] : undefined;
5630
5624
  var that = this;
@@ -7197,9 +7191,7 @@ module.exports = Function.bind || function bind(that
7197
7191
  var fn = aFunction(this);
7198
7192
  var partArgs = slice.call(arguments, 1);
7199
7193
 
7200
- var boundFunction = function bound()
7201
- /* args... */
7202
- {
7194
+ var boundFunction = function bound() {
7203
7195
  var args = partArgs.concat(slice.call(arguments));
7204
7196
  return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);
7205
7197
  };