V
V
VPVPVP2020-05-04 14:46:38
JavaScript
VPVPVP, 2020-05-04 14:46:38

Errors are thrown in the Tempus Dominus Bootstrap4 console and Uncaught SyntaxError: Invalid or unexpected token?

I include scripts like this:

wp_enqueue_script( 'lonsteil-starmap-jquerymin', 'https://code.jquery.com/jquery-3.4.1.min.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-popper', 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-bootstrapcdn', 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-fancyboxx', get_template_directory_uri() . '/packages/fancybox/jquery.fancybox.min.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-coockies', get_template_directory_uri() . '/js/jquery.cookie.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-jqueru-ui', 'https://code.jquery.com/ui/1.12.1/jquery-ui.min.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-gapis', 'https://maps.googleapis.com/maps/api/js?key=AIzaSyCSL1_nsETBMG-E3_7Yk2N7wF5kZikNZZI&libraries=places', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-virtualskydata', get_template_directory_uri() . '/js/mapstar/virtualsky.data.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-virtualskyjs', get_template_directory_uri() . '/js/mapstar/virtualsky.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-imagesloaded', 'https://unpkg.com/[email protected]/imagesloaded.pkgd.min.js', array(), _S_VERSION, true );
    wp_enqueue_script( 'lonsteil-starmap-maskedinp', get_template_directory_uri() . '/js/constructor/jquery.maskedinput.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-moment', get_template_directory_uri() . '/js/constructor/plugins/moment.min.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-starcraft', get_template_directory_uri() . '/js/constructor/starcraft.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-configjs', get_template_directory_uri() . '/js/constructor/config.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-prepareposition', get_template_directory_uri() . '/js/constructor/prepare_positions.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-selectjs', get_template_directory_uri() . '/js/constructor/select.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-mapstarjs', get_template_directory_uri() . '/js/constructor/Mapstar.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-setupjs', get_template_directory_uri() . '/js/constructor/setup.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-layoutsetup', get_template_directory_uri() . '/js/constructor/layout_setup.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-timework', get_template_directory_uri() . '/js/constructor/timework.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-vubrant', get_template_directory_uri() . '/js/constructor/vibrant.min.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-mobile', get_template_directory_uri() . '/js/constructor/mobile.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-upload', get_template_directory_uri() . '/js/constructor/upload.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-global', get_template_directory_uri() . '/js/global.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-tempus-dominus', 'https://cdnjs.cloudflare.com/ajax/libs/tempusdominus-bootstrap-4/5.0.0-alpha14/js/tempusdominus-bootstrap-4.min.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-adminjs', get_template_directory_uri() . '/js/admin.js', array(), _S_VERSION, true );
  	wp_enqueue_script( 'lonsteil-starmap-order-work', get_template_directory_uri() . '/js/constructor/order_work.js', array(), _S_VERSION, true );
  	wp_enqueue_script( 'lonsteil-starmap-order-work', get_template_directory_uri() . '/js/constructor/delivery_work.js', array(), _S_VERSION, true );
  	wp_enqueue_script( 'lonsteil-starmap-font-awes', 'https://kit.fontawesome.com/eae466afdf.js', array(), _S_VERSION, true );
  	wp_enqueue_script( 'lonsteil-starmap-navigation', get_template_directory_uri() . '/js/navigation.js', array(), _S_VERSION, true );
  wp_enqueue_script( 'lonsteil-starmap-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), _S_VERSION, true );


The sequence seems to be correct. But crashes
5eb0009c35cd6551905374.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question