[ 
https://issues.apache.org/jira/browse/WICKET-7061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735252#comment-17735252
 ] 

Erich Bremer commented on WICKET-7061:
--------------------------------------

I'm creating a web page using Three.js version r153.  My wicket template starts 
as follows:

{quote}<!DOCTYPE html>
<html lang="en">
<wicket:head>
    <style> body { margin: 0; } </style>
</wicket:head>

<body>
<wicket:extend>
   <script type="importmap">
        {
            "imports": {
                "three": "/threejs/build/three.module.js",
                "three/addons/": "/threejs/examples/jsm/"
            }
        }
    </script>
    <script type="module">
        import * as THREE from 'three';
        import Stats from 'three/addons/libs/stats.module.js';
        import { GUI } from 'three/addons/libs/lil-gui.module.min.js';
        import { TrackballControls } from 
'three/addons/controls/TrackballControls.js';{quote}

The page works on version 9.13.0 using Firefox 114.0.1, but then the importmap 
fails on introduction of 9.14.0.

> When I move from 9.13.0->9.14.0, my importmaps fail to parse correctly due to 
> presence of the CDATA wrapping.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-7061
>                 URL: https://issues.apache.org/jira/browse/WICKET-7061
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 9.14.0
>            Reporter: Erich Bremer
>            Priority: Major
>
> Seems to be caused by 
> https://issues.apache.org/jira/projects/WICKET/issues/WICKET-7054



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to