This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
common { | |
dependsOn "jquery-ui, jquery" | |
resource url:'css/main.css' | |
} | |
editPage { | |
dependsOn 'common' | |
// we could include and edit-specific JS resource here. | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
common { | |
dependsOn "jquery-ui, jquery" | |
resource url:'css/main.css' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="layout" content="main"/> | |
<r:require module="common"/> | |
<r:script>window.alert('Boo!')</r:script> | |
</head> | |
<body> | |
... | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<r:img uri="images/logo.png"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
common { | |
dependsOn "jquery-ui, jquery" | |
resource url:'css/main.css' | |
} | |
images { | |
resource url:'images/logo.png', | |
attrs:[width:400, height:180, alt:'ACME Corp.'], | |
disposition: 'image' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
common { | |
dependsOn "jquery-ui, jquery" | |
resource url:'css/main.css', bundle: 'core' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
common { | |
dependsOn "jquery-ui, jquery" | |
resource url:'css/main.css', bundle: 'core' | |
} | |
overrides { | |
jquery { | |
defaultBundle 'core' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
common { | |
resource url:'css/main.css', bundle:'core', | |
attrs:[media:'print'] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
app { | |
resource url:[plugin:'blueprint', | |
dir:'css/blueprint', | |
file:'ie.css'], | |
wrapper: { s -> "<!--[if lt IE 8]>$s<![endif]-->" } | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = { | |
overrides { | |
jquery { | |
resource id:'js', bundle:'global' | |
} | |
} | |
} |