A free open source IT asset/license management system
Removed iCheck from snipeit.js and webpack
snipe868615d5e772
diff --git a/resources/assets/js/snipeit.js b/resources/assets/js/snipeit.jsindex 95fb268657..7236712c34 100755--- a/resources/assets/js/snipeit.js+++ b/resources/assets/js/snipeit.js@@ -185,14 +185,6 @@ $(document).ready(function () {}});- /*- * iCheck checkbox plugin- */-- $('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({- checkboxClass: 'icheckbox_minimal-blue',- radioClass: 'iradio_minimal-blue'- });/*@@ -611,22 +603,10 @@ function htmlEntities(str) {** How to use:*- * 1. Set the class of your select2 elements to 'livewire-select2' and your icheck elements to 'livewire-icheck' (as appropriate).- * (For iCheck, you may still need to apply the other iCheck classes like 'minimal' or 'iCheck')+ * 1. Set the class of your select2 elements to 'livewire-select2').* 2. Name your element to match a property in your Livewire component* 3. Add an attribute called 'data-livewire-component' that points to $_instance->id (via `{{ }}` if you're in a blade,* or just $_instance->id if not).- * 4. For iCheck, you need to wrap the 'checkbox' element with wire:ignore - perhaps in the <label> if it wraps the- * <input> element, or just put a <span wire:ignore></span> around just the input element.- * 5. If you have dynamically shown/hidden checkboxes, you might need to initialize iCheck on them on component page-load.- * Just use $('.livewire-icheck').iCheck(), or for the minimal-style, use:- *- * $('input[type="checkbox"].minimal.livewire-icheck, input[type="radio"].minimal.livewire-icheck').iCheck({- * checkboxClass: 'icheckbox_minimal-blue',- * radioClass: 'iradio_minimal-blue'- * });- *- * (which is stolen from above here in this JS file)*/$(function () {$('.livewire-select2').select2()diff --git a/webpack.mix.js b/webpack.mix.jsindex b54a7392cc..8d29fb581a 100644--- a/webpack.mix.js+++ b/webpack.mix.js@@ -18,8 +18,6 @@ mix"./node_modules/@fortawesome/fontawesome-free/css/all.css","./public/css/build/AdminLTE.css","./node_modules/jquery-ui-bundle/jquery-ui.css",- "./node_modules/admin-lte/plugins/iCheck/minimal/blue.css",- "./node_modules/icheck/skins/minimal/minimal.css","./node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css","./node_modules/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css","./node_modules/blueimp-file-upload/css/jquery.fileupload.css",@@ -34,13 +32,6 @@ mix).version();-mix.copy(- [- "./node_modules/icheck/skins/minimal/blue.png",- "./node_modules/icheck/skins/minimal/[email protected]",- ],- "./public/css"-);/*** Copy, minify and version signature-pad.css