Skip to content
Myr

Merge branch 'integration'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parents 33277c3, 206e800 · Browse files · 3 files+37 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+37 added−5 removed

  • tests:+10 added−0 removed
  • other:+27 added−5 removed

3 files+37 added−5 removed

modified:lib/express/plugins/view.js+26 added-5 removed
modified:lib/express/core.js+1 added
341 unmodified lines
342})343344configure('production', function(){345 enable('cache view contents')346 enable('cache view partials')347 enable('cache static files')348})
modified:spec/spec.plugins.view.js+10 added
10 unmodified lines
11 set('views').should.eql 'spec/views'12 end13 end14 15 describe 'set("partials")'16 it 'should default to <views>/partials'17 set('root', 'spec')18 set('partials').should.eql 'spec/views/partials'19 set('views', 'magicland')20 set('partials').should.eql 'magicland/partials'21 end22 end23 24 describe '#partial()'25 before_each26 set('views', 'spec/fixtures')27 set('partials', 'spec/fixtures/partials')28 end29 30 describe 'given a valid view name'31 it 'should render a partial'
169 unmodified lines