AnsweredAssumed Answered

JavaScript Web Optimizer error

Question asked by jeff.pace on Jul 14, 2014
Latest reply on Mar 1, 2016 by processing...

I am trying to use the JavaScript Web Optimizer, and i keep getting this error when i try to scan my website

Capture.JPG

 

        <script>
            var hostPath = window.location.pathname.replace(/\/[^/]+$/, "");
            dojoConfig = {
                parseOnLoad: false,
                        async:true,
                baseUrl: '/arcgis_js_api/library/3.9/arcgis/js/dojo/dojo',
                packages: [{name: 'org', location: hostPath + '/..' + '/mobile/org'},
                    {name: 'agsjs', location: hostPath + '/..' + '/mobile/agsjs'},
                    {name: 'com', location: hostPath + '/..' + '/js/com'},
                    {name: 'utilities', location: hostPath + '/..' + '/mobile/utilities'}
                ],
                isDebug: false,
                usePlainJson: false
            };
        </script>
        <script src="/arcgis_js_api/library/3.9/arcgis/?v=3.9"></script>

Outcomes