Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
inorganik committed Jun 29, 2022
1 parent 9b29b13 commit 5ec1dfb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/countUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var CountUp = /** @class */ (function () {
var _this = this;
this.endVal = endVal;
this.options = options;
this.version = '2.3.0';
this.version = '2.3.1';
this.defaults = {
startVal: 0,
decimalPlaces: 0,
Expand Down Expand Up @@ -139,7 +139,7 @@ var CountUp = /** @class */ (function () {
this.error = '[CountUp] target is null or undefined';
}
// scroll spy
if (window !== undefined && this.options.enableScrollSpy) {
if (typeof window !== 'undefined' && this.options.enableScrollSpy) {
if (!this.error) {
// set up global array of onscroll functions
window['onScrollFns'] = window['onScrollFns'] || [];
Expand Down
2 changes: 1 addition & 1 deletion dist/countUp.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/countUp.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
var _this = this;
this.endVal = endVal;
this.options = options;
this.version = '2.3.0';
this.version = '2.3.1';
this.defaults = {
startVal: 0,
decimalPlaces: 0,
Expand Down Expand Up @@ -145,7 +145,7 @@
this.error = '[CountUp] target is null or undefined';
}
// scroll spy
if (window !== undefined && this.options.enableScrollSpy) {
if (typeof window !== 'undefined' && this.options.enableScrollSpy) {
if (!this.error) {
// set up global array of onscroll functions
window['onScrollFns'] = window['onScrollFns'] || [];
Expand Down
Loading

0 comments on commit 5ec1dfb

Please sign in to comment.