Skip to content

Commit

Permalink
correct paths - fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Jul 17, 2014
1 parent e20b986 commit df7b9ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions pom.xml
Expand Up @@ -11,7 +11,7 @@
<packaging>jar</packaging>
<groupId>org.webjars</groupId>
<artifactId>jquery-ui</artifactId>
<version>1.11.1-SNAPSHOT</version>
<version>1.11.0-1-SNAPSHOT</version>
<name>jQuery UI</name>
<description>WebJar for jQuery UI</description>
<url>http://webjars.org</url>
Expand Down Expand Up @@ -46,8 +46,14 @@
<destDir>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${jqueryui.version}</destDir>
<requirejs>
{
"paths": { "jquery-ui-min": "ui/minified/jquery-ui.min" },
"shim": { "jquery-ui-min": [ "jquery" ] }
"paths": {
"jquery-ui": "jquery-ui",
"jquery-ui-min": "jquery-ui.min"
},
"shim": {
"jquery-ui": [ "jquery" ],
"jquery-ui-min": [ "jquery" ]
}
}
</requirejs>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/webjars-requirejs.js
@@ -1,4 +1,4 @@
requirejs.config({
paths: { "jquery-ui": webjars.path("jquery-ui", "ui/jquery-ui") },
paths: { "jquery-ui": webjars.path("jquery-ui", "jquery-ui") },
shim: { "jquery-ui": [ "jquery" ] }
});

0 comments on commit df7b9ae

Please sign in to comment.