Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ability to override default css and js folders #29

Merged
merged 6 commits into from Jun 27, 2011
Merged

Conversation

dtan
Copy link
Contributor

@dtan dtan commented Jun 27, 2011

another one i forgot to add previously. seems to work fine on my local copy. it caches the css and js files to their respective, overridden folders. I left it set to "/stylesheets/" and "/javascripts/" for default build purposes though. i currently have mine set to "/css/" and "/js/".

oh and i did realize how to make it so that only minimal commits would come through now =)

dale

1602 added a commit that referenced this pull request Jun 27, 2011
added ability to override default css and js folders
@1602 1602 merged commit f730e7f into 1602:master Jun 27, 2011
@@ -5,10 +5,11 @@ app.configure(function(){
app.use(express.static(cwd + '/public', {maxAge: 86400000}));
app.set('views', cwd + '/app/views');
app.set('view engine', 'VIEWENGINE');
app.set('jsDirectory', '/javascripts/');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ExpressJS style requires human-readable settings names, AFAIK, for example: view engine, view cache. Maybe better to use words separated with spaces instead of camelCase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants