-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Derek Bender
committed
Aug 21, 2013
1 parent
3d5a101
commit 9b9099a
Showing
2 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
$(function() { | ||
$(document).on('page:fetch', function() { NProgress.start(); }); | ||
$(document).on('page:load', function() { NProgress.done(); }); | ||
$(document).on('page:fetch', function() { NProgress.start(); }); | ||
$(document).on('page:change', function() { NProgress.done(); }); | ||
$(document).on('page:restore', function() { NProgress.remove(); }); | ||
}); |