@bbn/bbn 1.0.320 → 1.0.321

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/fn.d.ts CHANGED
@@ -109,7 +109,6 @@ import getProperty from './fn/object/getProperty.js';
109
109
  import getRequestId from './fn/ajax/getRequestId.js';
110
110
  import getRow from './fn/object/getRow.js';
111
111
  import getScrollBarSize from './fn/style/getScrollBarSize.js';
112
- import getSiblingIndex from './fn/html/getSiblingIndex.js';
113
112
  import getText from './fn/html/getText.js';
114
113
  import getTimeoff from './fn/misc/getTimeoff.js';
115
114
  import happy from './fn/browser/happy.js';
@@ -350,7 +349,6 @@ declare const _default: {
350
349
  getRequestId: typeof getRequestId;
351
350
  getRow: typeof getRow;
352
351
  getScrollBarSize: typeof getScrollBarSize;
353
- getSiblingIndex: typeof getSiblingIndex;
354
352
  getText: typeof getText;
355
353
  getTimeoff: typeof getTimeoff;
356
354
  happy: typeof happy;
package/dist/fn.js CHANGED
@@ -109,7 +109,6 @@ import getProperty from './fn/object/getProperty.js';
109
109
  import getRequestId from './fn/ajax/getRequestId.js';
110
110
  import getRow from './fn/object/getRow.js';
111
111
  import getScrollBarSize from './fn/style/getScrollBarSize.js';
112
- import getSiblingIndex from './fn/html/getSiblingIndex.js';
113
112
  import getText from './fn/html/getText.js';
114
113
  import getTimeoff from './fn/misc/getTimeoff.js';
115
114
  import happy from './fn/browser/happy.js';
@@ -350,7 +349,6 @@ export default {
350
349
  getRequestId: getRequestId,
351
350
  getRow: getRow,
352
351
  getScrollBarSize: getScrollBarSize,
353
- getSiblingIndex: getSiblingIndex,
354
352
  getText: getText,
355
353
  getTimeoff: getTimeoff,
356
354
  happy: happy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.320",
3
+ "version": "1.0.321",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +0,0 @@
1
- export default function getSiblingIndex(ele: any): number;
@@ -1,8 +0,0 @@
1
- export default function getSiblingIndex(ele) {
2
- var i = 0;
3
- while (ele.previousElementSibling) {
4
- i++;
5
- ele = ele.previousElementSibling;
6
- }
7
- return i;
8
- }