Commit efc686d8 authored by Nicolas Widart's avatar Nicolas Widart

Adding pace jquery plugin

parent f0df8de8
...@@ -74,6 +74,7 @@ return [ ...@@ -74,6 +74,7 @@ return [
'selectize.css' => ['module' => 'core:vendor/selectize/dist/css/selectize.css'], 'selectize.css' => ['module' => 'core:vendor/selectize/dist/css/selectize.css'],
'selectize-default.css' => ['module' => 'core:vendor/selectize/dist/css/selectize.default.css'], 'selectize-default.css' => ['module' => 'core:vendor/selectize/dist/css/selectize.default.css'],
'animate.css' => ['theme' => 'vendor/animate.css/animate.min.css'], 'animate.css' => ['theme' => 'vendor/animate.css/animate.min.css'],
'pace.css' => ['theme' => 'vendor/admin-lte/plugins/pace/pace.min.css'],
// Javascript // Javascript
'bootstrap.js' => ['theme' => 'vendor/bootstrap/dist/js/bootstrap.min.js'], 'bootstrap.js' => ['theme' => 'vendor/bootstrap/dist/js/bootstrap.min.js'],
'mousetrap.js' => ['theme' => 'js/vendor/mousetrap.min.js'], 'mousetrap.js' => ['theme' => 'js/vendor/mousetrap.min.js'],
...@@ -98,6 +99,7 @@ return [ ...@@ -98,6 +99,7 @@ return [
'sisyphus.js' => ['theme' => 'vendor/sisyphus/sisyphus.min.js'], 'sisyphus.js' => ['theme' => 'vendor/sisyphus/sisyphus.min.js'],
'main.js' => ['theme' => 'js/main.js'], 'main.js' => ['theme' => 'js/main.js'],
'chart.js' => ['theme' => 'vendor/admin-lte/plugins/chartjs/Chart.js'], 'chart.js' => ['theme' => 'vendor/admin-lte/plugins/chartjs/Chart.js'],
'pace.js' => ['theme' => 'vendor/admin-lte/plugins/pace/pace.min.js'],
], ],
/* /*
...@@ -117,6 +119,7 @@ return [ ...@@ -117,6 +119,7 @@ return [
'AdminLTE.css', 'AdminLTE.css',
'AdminLTE.all.skins.css', 'AdminLTE.all.skins.css',
'animate.css', 'animate.css',
'pace.css',
'asgard.css', 'asgard.css',
], ],
'js' => [ 'js' => [
...@@ -129,6 +132,7 @@ return [ ...@@ -129,6 +132,7 @@ return [
'jquery.slug.js', 'jquery.slug.js',
'keypressAction.js', 'keypressAction.js',
'app.js', 'app.js',
'pace.js',
'main.js', 'main.js',
'sisyphus.js', 'sisyphus.js',
], ],
......
...@@ -3,4 +3,5 @@ $(document).ready(function () { ...@@ -3,4 +3,5 @@ $(document).ready(function () {
$('[data-slug="source"]').each(function(){ $('[data-slug="source"]').each(function(){
$(this).slug(); $(this).slug();
}); });
$(document).ajaxStart(function() { Pace.restart(); });
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment