Skip to content

Commit c47ea2e

Browse files
authored
Merge pull request usablica#647 from nblackburn/unnecessary-semi-colons
Removed unnecessary semi-colons
2 parents 1016696 + 395fa88 commit c47ea2e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

intro.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@
11171117
} else {
11181118
return propValue;
11191119
}
1120-
};
1120+
}
11211121

11221122
/**
11231123
* Checks to see if target element (or parents) position is fixed or not
@@ -1139,7 +1139,7 @@
11391139
}
11401140

11411141
return _isFixed(p);
1142-
};
1142+
}
11431143

11441144
/**
11451145
* Provides a cross-browser way to get the screen dimensions
@@ -1224,7 +1224,7 @@
12241224
}, 10);
12251225

12261226
return true;
1227-
};
1227+
}
12281228

12291229
/**
12301230
* Removes open hint (tooltip hint)
@@ -1240,7 +1240,7 @@
12401240
tooltip.parentNode.removeChild(tooltip);
12411241
return step;
12421242
}
1243-
};
1243+
}
12441244

12451245
/**
12461246
* Start parsing hint items
@@ -1311,7 +1311,7 @@
13111311
document.attachEvent('onclick', _removeHintTooltip.bind(this));
13121312
document.attachEvent('onresize', _reAlignHints.bind(this));
13131313
}
1314-
};
1314+
}
13151315

13161316
/**
13171317
* Re-aligns all hint elements
@@ -1347,7 +1347,7 @@
13471347
if (typeof (this._hintCloseCallback) !== 'undefined') {
13481348
this._hintCloseCallback.call(this, stepId);
13491349
}
1350-
};
1350+
}
13511351

13521352
/**
13531353
* Hide all hints
@@ -1363,7 +1363,7 @@
13631363
_hideHint.call(this, hints[i].getAttribute('data-step'));
13641364
}
13651365
}
1366-
};
1366+
}
13671367

13681368
/**
13691369
* Show all hints
@@ -1474,7 +1474,7 @@
14741474
if (typeof (this._hintsAddedCallback) !== 'undefined') {
14751475
this._hintsAddedCallback.call(this);
14761476
}
1477-
};
1477+
}
14781478

14791479
/**
14801480
* Aligns hint position
@@ -1517,7 +1517,7 @@
15171517
hint.style.top = offset.top + 'px';
15181518
break;
15191519
}
1520-
};
1520+
}
15211521

15221522
/**
15231523
* Triggers when user clicks on the hint element
@@ -1591,7 +1591,7 @@
15911591

15921592
//set proper position
15931593
_placeTooltip.call(this, hintElement, tooltipLayer, arrowLayer, null, true);
1594-
};
1594+
}
15951595

15961596
/**
15971597
* Get an element position on the page
@@ -1625,7 +1625,7 @@
16251625
elementPosition.left = _x;
16261626

16271627
return elementPosition;
1628-
};
1628+
}
16291629

16301630
/**
16311631
* Gets the current progress percentage
@@ -1638,7 +1638,7 @@
16381638
// Steps are 0 indexed
16391639
var currentStep = parseInt((this._currentStep + 1), 10);
16401640
return ((currentStep / this._introItems.length) * 100);
1641-
};
1641+
}
16421642

16431643
/**
16441644
* Overwrites obj1's values with obj2's and adds obj2's if non existent in obj1
@@ -1653,7 +1653,7 @@
16531653
for (var attrname in obj1) { obj3[attrname] = obj1[attrname]; }
16541654
for (var attrname in obj2) { obj3[attrname] = obj2[attrname]; }
16551655
return obj3;
1656-
};
1656+
}
16571657

16581658
var introJs = function (targetElm) {
16591659
if (typeof (targetElm) === 'object') {

0 commit comments

Comments
 (0)