nodebb-theme-harmony
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
{ | ||
"name": "nodebb-theme-harmony", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"nbbpm": { | ||
@@ -5,0 +5,0 @@ "compatibility": "^3.0.0" |
'use strict'; | ||
$(document).ready(function () { | ||
setupNProgress(); | ||
setupMobileMenu(); | ||
@@ -125,2 +126,16 @@ setupSearch(); | ||
} | ||
function setupNProgress() { | ||
require(['nprogress'], function (NProgress) { | ||
window.nprogress = NProgress; | ||
if (NProgress) { | ||
$(window).on('action:ajaxify.start', function () { | ||
NProgress.set(0.7); | ||
}); | ||
$(window).on('action:ajaxify.end', function () { | ||
NProgress.done(true); | ||
}); | ||
} | ||
}); | ||
} | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
259591
175
383
0
6