Skip to content

Commit 83f46d8

Browse files
authored
chore: minor update to scrollspy
1 parent 3c42477 commit 83f46d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/directives/scrollspy/scrollspy.class.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,13 @@ const TransitionEndEvents = [
8080
*/
8181

8282
// Better var type detection
83+
/* istanbul ignore next: not easy to test */
8384
function toType (obj) {
8485
return ({}).toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase()
8586
}
8687

8788
// Check config properties for expected types
89+
/* istanbul ignore next: not easy to test */
8890
function typeCheckConfig (componentName, config, configTypes) {
8991
for (const property in configTypes) {
9092
if (Object.prototype.hasOwnProperty.call(configTypes, property)) {
@@ -110,6 +112,7 @@ function typeCheckConfig (componentName, config, configTypes) {
110112
* ------------------------------------------------------------------------
111113
*/
112114

115+
/* istanbul ignore next: not easy to test */
113116
class ScrollSpy {
114117
constructor (element, config, $root) {
115118
// The element we activate links in

0 commit comments

Comments
 (0)