Slack.Automation/Promact.Erp.Web/Content/js/nprogress/nprogress.js
File nprogress.js
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
;(function(root, factory) {
Function css
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var css = (function() {
var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],
cssProps = {};
function camelCase(string) {
Function set
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
NProgress.set = function(n) {
var started = NProgress.isStarted();
n = clamp(n, Settings.minimum, 1);
NProgress.status = (n === 1 ? null : n);