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

Namespace cleanup #49

Merged
merged 5 commits into from
Aug 10, 2014
Merged

Namespace cleanup #49

merged 5 commits into from
Aug 10, 2014

Conversation

set321go
Copy link
Contributor

The primary fix for this PR is a namespace change for the global methods. I have moved the global methods from datePicker.js into datePickerUtils.js, the methods are now defined in a factory which can be injected where they are needed. Some of the methods that reference other methods needed changes e.g. isSameMonth

Additional changes:

  • added tests for datePickerUtils methods - some of the tests are a bit basic.
  • added intellij .iml files to gitignore
  • updated the index.html to use the angular.js from angular.min.js to make debugging easier as it provides meaningful error messages.

set321go added 5 commits June 29, 2014 12:21
…are now in a factory which is injected into necessary resources. Changes required to global methods where they referenced each other were prefixed with 'this.', related to g00fy-#38
g00fy- added a commit that referenced this pull request Aug 10, 2014
@g00fy- g00fy- merged commit 9892586 into g00fy-:master Aug 10, 2014
@g00fy-
Copy link
Owner

g00fy- commented Aug 10, 2014

Thanks

@set321go set321go deleted the namespace-cleanup branch August 10, 2014 17:51
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