@bbn/bbn 1.0.415 → 1.0.417
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/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/fn/html/getPath.js +0 -4
- package/package.json +1 -1
package/dist/fn/html/getPath.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import replaceAll from '../string/replaceAll.js';
|
|
2
1
|
/**
|
|
3
2
|
* @method getPath
|
|
4
3
|
* @todo Add method description for getPath
|
|
@@ -40,9 +39,6 @@ export default function getPath(element) {
|
|
|
40
39
|
name_1 += ':nth-child(' + index + ')';
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
|
-
else if (realNode.className && realNode.className !== ' ') {
|
|
44
|
-
name_1 += '.' + replaceAll(' ', '.', replaceAll(' ', ' ', realNode.className));
|
|
45
|
-
}
|
|
46
42
|
path = name_1 + (path ? '>' + path : '');
|
|
47
43
|
node = parent_1;
|
|
48
44
|
};
|