@hpcc-js/common 2.71.7 → 2.71.9

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/dist/index.js CHANGED
@@ -5,8 +5,8 @@
5
5
  })(this, (function (exports, util) { 'use strict';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/common";
8
- var PKG_VERSION = "2.71.7";
9
- var BUILD_VERSION = "2.104.14";
8
+ var PKG_VERSION = "2.71.9";
9
+ var BUILD_VERSION = "2.104.20";
10
10
 
11
11
  /******************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -7000,10 +7000,11 @@
7000
7000
  }
7001
7001
  var Selection = SelectionBag;
7002
7002
  function urlParams() {
7003
- var def = window.location.search.split("?")[1];
7004
7003
  var retVal = {};
7005
- if (def) {
7006
- def.split("&").forEach(function (param) {
7004
+ var url = window.location.href;
7005
+ var idx = url.indexOf("?");
7006
+ if (idx >= 0) {
7007
+ url.substring(idx + 1).split("&").forEach(function (param) {
7007
7008
  var paramParts = param.split("=");
7008
7009
  switch (paramParts.length) {
7009
7010
  case 1: