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

Feature/compatible require #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Erffun
Copy link

@Erffun Erffun commented Mar 21, 2017

No description provided.

hexadecy added a commit to beenote/angular-material-datetimepicker that referenced this pull request Jun 24, 2017

var pL = parseInt(css(pickerEl, 'paddingLeft').replace('px', '')) || 0;
var pT = parseInt(css(pickerEl, 'paddingTop').replace('px', '')) || 0;

Choose a reason for hiding this comment

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

you should add the below code :

return moduleName;

It permits to get the module name with the return of require/import, it is useful when we inject ng-material-datetimepicker into our application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants