Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

steal.config.completed is not working

$
0
0
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Default theme</title>
</head>

<body>
</body>
<script>
steal = {
paths : {
"uiframework/" : "/ui/apps/app1/123/resources/uiframework/",
"console/" : "/resources/console/",
"theme/" : "/resources/theme/default/"
},
completed : ["/ui/apps/app1/123/resources/uiframework/MYAPP/framework/framework.css", "/resources/console/MYAPP/iconsole/console.css"],
env : "development",
startId : "theme/MYAPP/CM/init.js"
}
</script>
<script type="text/javascript" src="/ui/apps/app1/123/resources/uiframework/steal/steal.js"></script>
</html>


steal is still making below calls


I tried all comobinations like 
completed : ["ui/apps/app1/123/resources/uiframework/MYAPP/framework/framework.css", "resources/console/MYAPP/iconsole/console.css"]
completed : ["MYAPP/framework/framework.css", "MYAPP/iconsole/console.css"]
...

What is the correct usage?


Viewing all articles
Browse latest Browse all 3491

Trending Articles