mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Make sure Confetti mode isn't broken
This commit is contained in:
parent
d43824c73e
commit
66586f13ee
|
@ -14,7 +14,6 @@ window.$ = jQuery
|
||||||
require('jquery-ui'); //should we export this to the window?
|
require('jquery-ui'); //should we export this to the window?
|
||||||
jQuery.fn.uitooltip = jQuery.fn.tooltip;
|
jQuery.fn.uitooltip = jQuery.fn.tooltip;
|
||||||
require('bootstrap-less');
|
require('bootstrap-less');
|
||||||
console.error("Jquery version is: " + jQuery().jquery)
|
|
||||||
require('select2');
|
require('select2');
|
||||||
require('admin-lte');
|
require('admin-lte');
|
||||||
require('tether');
|
require('tether');
|
||||||
|
|
|
@ -72,6 +72,11 @@ mix
|
||||||
"./resources/assets/js/snipeit.js",
|
"./resources/assets/js/snipeit.js",
|
||||||
"./resources/assets/js/snipeit_modals.js",
|
"./resources/assets/js/snipeit_modals.js",
|
||||||
"./node_modules/canvas-confetti/dist/confetti.browser.js",
|
"./node_modules/canvas-confetti/dist/confetti.browser.js",
|
||||||
|
// The general direction we have been going is to pull these via require() directly
|
||||||
|
// But this runs in only one place, is only 24k, and doesn't break the sourcemaps
|
||||||
|
// (and it needs to run in 'immediate' mode, not in 'moar_scripts'), so let's just
|
||||||
|
// leave it here. It *could* be moved to confetti-js.blade.php, but I don't think
|
||||||
|
// it helps anything if we do that.
|
||||||
],
|
],
|
||||||
"./public/js/dist/all.js"
|
"./public/js/dist/all.js"
|
||||||
).sourceMaps(true, 'source-map', 'source-map').version();
|
).sourceMaps(true, 'source-map', 'source-map').version();
|
||||||
|
|
Loading…
Reference in a new issue