You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When removing certain required values from the custom build script... it doesn't fix the problem successfully.
Example posted by John Moore
To try and prevent the flash of unstyled content I was getting using Dojo for my menu bars, I have gone for the custom build approach as outlined on the plugin's FAQ page. I used 'install-custom-dojo', with the following in my Congig.groovy:
Something's not right, though. When I do a run-app, the page with the menu bar on does not display properly. When I view source, I can see that some required files have been unavailable:
When removing certain required values from the custom build script... it doesn't fix the problem successfully.
Example posted by John Moore
To try and prevent the flash of unstyled content I was getting using Dojo for my menu bars, I have gone for the custom build approach as outlined on the plugin's FAQ page. I used 'install-custom-dojo', with the following in my Congig.groovy:
dojo.optimize.during.build = false;
dojo.use.customBuild.js = true;
dojo.use.customBuild.css = true;
dojo.profile = """
dependencies = {
layers: [
{
name: "custom-dojo.js",
dependencies: ['dijit.MenuBar','dijit.PopupMenuBarItem', 'dijit.Menu','dijit.MenuItem','dijit.PopupMenuItem']
}
],
prefixes: [
[ "dijit", "../dijit" ]
],
css: {
dependencies: [ "../dojo/resources/dojo.css", "../dijit/themes/dijit.css", "../dijit/themes/claro/claro.css" ]
}
}
"""
Something's not right, though. When I do a run-app, the page with the menu bar on does not display properly. When I view source, I can see that some required files have been unavailable:
DOESN'T FIND THIS FILE:
FINDS THIS FILE OK:
<script type='text/javascript' src='/myapp/js/dojo/1.6.1-custom/dojo/dojo.js' djConfig='isDebug:false, parseOnLoad:true'></script>DOESN'T FIND THIS FILE:
<script type='text/javascript' src='/myapp/js/dojo/1.6.1-custom/dojoui/dojoui.js'></script>FINDS THIS FILE OK:
<script type='text/javascript' src='/myapp/js/dojo/1.6.1-custom/dojo/custom-dojo.js'></script>Can anyone shed any light on what might have gone wrong here?
The text was updated successfully, but these errors were encountered: