Fixes after reading excel files and discuss with eric
This commit is contained in:
18
resources/views/load/functions.blade.php
Normal file
18
resources/views/load/functions.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@if(!defined('LOAD_FUNCTIONS'))
|
||||
@push('scripts')
|
||||
<script>
|
||||
function delay(callback, ms) {
|
||||
var timer = 0;
|
||||
return function() {
|
||||
var context = this, args = arguments;
|
||||
clearTimeout(timer);
|
||||
timer = setTimeout(function () {
|
||||
callback.apply(context, args);
|
||||
}, ms || 0);
|
||||
};
|
||||
}
|
||||
|
||||
</script>
|
||||
@endpush
|
||||
@php(define('LOAD_FUNCTIONS', true))
|
||||
@endif
|
||||
Reference in New Issue
Block a user