Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

feat(interval): Use $interval instead of $timeout for Angular 1.2.x #1524

Closed
wants to merge 1 commit into from
Closed

feat(interval): Use $interval instead of $timeout for Angular 1.2.x #1524

wants to merge 1 commit into from

Conversation

mvhecke
Copy link
Contributor

@mvhecke mvhecke commented Jan 4, 2014

Updated the carousel to use the $interval instead of $timeout.

@mvhecke
Copy link
Contributor Author

mvhecke commented Jan 5, 2014

The only problem I have is that all tests fail, maybe someone can take a look at it? It seems that Angular isn't loading properly or something like that.

@chrisirhc
Copy link
Contributor

Relates to #1308 . Thank you for the pull request. It looks like this is creating a new interval timer every time and doesn't really benefit from the switchover from the $timeout service.
We're not looking into this just yet. We'll look into it once we start work on AngularJS 1.2 .

@mvhecke
Copy link
Contributor Author

mvhecke commented Jan 6, 2014

That's correct @chrisirhc, I saw your work in #1342, so I'll wait for that before I move on to updating things. I will close this for now.

@mvhecke mvhecke closed this Jan 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants