Sha256: e1c82802475761c17c4584db2a34d0ee7a5db872a3f53a5b6b28955ee1e8e1fe
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 Bytes
Contents
var nprogressAngularInterceptor = ['$q', function($q) { return { 'request': function(config) { NProgress.start(); return config; }, 'requestError': function(rejection) { NProgress.done(); return $q.reject(rejection); }, 'response': function(response) { NProgress.done(); return response; }, 'responseError': function(rejection) { NProgress.done(); return $q.reject(rejection); } }; }];
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nprogress-rails-0.1.6.2 | app/assets/javascripts/nprogress-angular.js |
nprogress-rails-0.1.6.1 | app/assets/javascripts/nprogress-angular.js |