Skip to content

Commit 315762a

Browse files
committed
Merge branch 'master' of github.com:usablica/intro.js
* 'master' of github.com:usablica/intro.js: Removed unnecessary semi-colons
2 parents 66b2f1a + c47ea2e commit 315762a

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
@@ -1177,7 +1177,7 @@
11771177
} else {
11781178
return propValue;
11791179
}
1180-
};
1180+
}
11811181

11821182
/**
11831183
* Checks to see if target element (or parents) position is fixed or not
@@ -1199,7 +1199,7 @@
11991199
}
12001200

12011201
return _isFixed(p);
1202-
};
1202+
}
12031203

12041204
/**
12051205
* Provides a cross-browser way to get the screen dimensions
@@ -1279,7 +1279,7 @@
12791279
}, 10);
12801280

12811281
return true;
1282-
};
1282+
}
12831283

12841284
/**
12851285
* Removes open hint (tooltip hint)
@@ -1295,7 +1295,7 @@
12951295
tooltip.parentNode.removeChild(tooltip);
12961296
return step;
12971297
}
1298-
};
1298+
}
12991299

13001300
/**
13011301
* Start parsing hint items
@@ -1366,7 +1366,7 @@
13661366
document.attachEvent('onclick', _removeHintTooltip.bind(this));
13671367
document.attachEvent('onresize', _reAlignHints.bind(this));
13681368
}
1369-
};
1369+
}
13701370

13711371
/**
13721372
* Re-aligns all hint elements
@@ -1402,7 +1402,7 @@
14021402
if (typeof (this._hintCloseCallback) !== 'undefined') {
14031403
this._hintCloseCallback.call(this, stepId);
14041404
}
1405-
};
1405+
}
14061406

14071407
/**
14081408
* Hide all hints
@@ -1418,7 +1418,7 @@
14181418
_hideHint.call(this, hints[i].getAttribute('data-step'));
14191419
}
14201420
}
1421-
};
1421+
}
14221422

14231423
/**
14241424
* Show all hints
@@ -1529,7 +1529,7 @@
15291529
if (typeof (this._hintsAddedCallback) !== 'undefined') {
15301530
this._hintsAddedCallback.call(this);
15311531
}
1532-
};
1532+
}
15331533

15341534
/**
15351535
* Aligns hint position
@@ -1572,7 +1572,7 @@
15721572
hint.style.top = offset.top + 'px';
15731573
break;
15741574
}
1575-
};
1575+
}
15761576

15771577
/**
15781578
* Triggers when user clicks on the hint element
@@ -1646,7 +1646,7 @@
16461646

16471647
//set proper position
16481648
_placeTooltip.call(this, hintElement, tooltipLayer, arrowLayer, null, true);
1649-
};
1649+
}
16501650

16511651
/**
16521652
* Get an element position on the page
@@ -1688,7 +1688,7 @@
16881688
}
16891689

16901690
return elementPosition;
1691-
};
1691+
}
16921692

16931693
/**
16941694
* Gets the current progress percentage
@@ -1701,7 +1701,7 @@
17011701
// Steps are 0 indexed
17021702
var currentStep = parseInt((this._currentStep + 1), 10);
17031703
return ((currentStep / this._introItems.length) * 100);
1704-
};
1704+
}
17051705

17061706
/**
17071707
* Overwrites obj1's values with obj2's and adds obj2's if non existent in obj1
@@ -1716,7 +1716,7 @@
17161716
for (var attrname in obj1) { obj3[attrname] = obj1[attrname]; }
17171717
for (var attrname in obj2) { obj3[attrname] = obj2[attrname]; }
17181718
return obj3;
1719-
};
1719+
}
17201720

17211721
var introJs = function (targetElm) {
17221722
if (typeof (targetElm) === 'object') {

0 commit comments

Comments
 (0)