From 0eb9094833a7957a0713abe2bfc95d7f3555cd17 Mon Sep 17 00:00:00 2001 From: Paul Biester Date: Wed, 5 Apr 2017 17:19:48 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cb409bd..40511a7 100644 --- a/README.md +++ b/README.md @@ -196,13 +196,13 @@ cfpLoadingBar.complete() ## Events The loading bar broadcasts the following events over $rootScope allowing further customization: -**`cfpLoadingBar:loading`** triggered upon each XHR request that is not already cached +**`cfpLoadingBar:loading`** triggered upon each XHR request that is not already cached. -**`cfpLoadingBar:loaded`** triggered each time an XHR request recieves a response (either successful or error) +**`cfpLoadingBar:loaded`** triggered each time an XHR request recieves a response (either successful or error). **`cfpLoadingBar:started`** triggered once upon the first XHR request. Will trigger again if another request goes out after `cfpLoadingBar:completed` has triggered. -**`cfpLoadingBar:completed`** triggered once when the all XHR requests have returned (either successfully or not) +**`cfpLoadingBar:completed`** triggered once when all the XHR requests have returned (either successfully or not). ## Credits: Credit goes to [rstacruz](https://github.com/rstacruz) for his excellent [nProgress](https://github.com/rstacruz/nprogress).