Skip to content

Commit

Permalink
issue #27: minor clarifing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chieffancypants committed Jan 21, 2014
1 parent 711c080 commit f1d5a62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/loading-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ angular.module('chieffancypants.loadingBar', [])
*/
var latencyThreshold = cfpLoadingBar.latencyThreshold;

/**
* $timeout handle for latencyThreshold
*/
var startTimeout;


/**
* calls cfpLoadingBar.complete() which removes the
* loading bar from the DOM.
Expand Down Expand Up @@ -86,7 +92,6 @@ angular.module('chieffancypants.loadingBar', [])
return cached;
}

var startTimeout;

return {
'request': function(config) {
Expand Down

0 comments on commit f1d5a62

Please sign in to comment.