Skip to content

Commit

Permalink
more logical resource names
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed May 6, 2011
1 parent bbf0212 commit 079c882
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 14 deletions.
22 changes: 9 additions & 13 deletions grails-app/conf/AppResources.groovy
Expand Up @@ -37,10 +37,10 @@ modules = {
resource url: "css/index.less" ,attrs:[rel: "stylesheet/less", type: "css"], bundle: "bundle_index"
}

scroll {
twitter {
dependsOn "modernizr", "boilerplate", "infinite-scroll"
resource "js/scroll.js"
resource url: "css/scroll.less" ,attrs:[rel: "stylesheet/less", type: "css"], bundle: "bundle_scroll"
resource "js/twitter.js"
resource url: "css/twitter.less" ,attrs:[rel: "stylesheet/less", type: "css"], bundle: "bundle_twitter"
}

graphs {
Expand All @@ -54,20 +54,16 @@ modules = {
resource url: "css/polls.less" ,attrs:[rel: "stylesheet/less", type: "css"], bundle: "bundle_polls"
}

forms {
rating {
dependsOn "modernizr", "boilerplate", "star-rating"
resource "js/forms.js"
resource url: "css/forms.less" ,attrs:[rel: "stylesheet/less", type: "css"], bundle: "bundle_forms"
}

lightbox {
dependsOn "facebox"
resource "js/lightbox.js"
resource "js/rating.js"
resource url: "css/rating.less" ,attrs:[rel: "stylesheet/less", type: "css"], bundle: "bundle_rating"
}

basket {
dependsOn "modernizr", "boilerplate"
resource url: "css/basket.less" ,attrs:[rel: "stylesheet/less", type: "css"], bundle: "bundle_lightbox"
dependsOn "modernizr", "boilerplate", "facebox"
resource "js/basket.js"
resource url: "css/basket.less" ,attrs:[rel: "stylesheet/less", type: "css"], bundle: "bundle_basket"
}

}
2 changes: 1 addition & 1 deletion grails-app/views/rating/album.gsp
Expand Up @@ -3,7 +3,7 @@
<head>
<meta name="layout" content="main">
<title>${album.title}</title>
<r:use modules="forms,lightbox,basket"/>
<r:use modules="rating,basket"/>
</head>
<body>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 079c882

Please sign in to comment.