Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(datepicker): fix 'util' import and use 'isInteger' #2738

Conversation

maxokorokov
Copy link
Member

No description provided.

@@ -1,6 +1,6 @@
import {Injectable} from '@angular/core';
import {NgbDateStruct} from '../ngb-date-struct';
import {isNumber} from 'util';
import {isInteger} from '../../util/util';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isNumber from util actually corresponds to isInteger from our ../../util/util...

@maxokorokov
Copy link
Member Author

Wait, don't merge

@maxokorokov
Copy link
Member Author

Ok now, sorry

@pkozlowski-opensource
Copy link
Member

LGTM, thnx!

@pkozlowski-opensource pkozlowski-opensource merged commit e3fa911 into ng-bootstrap:master Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants