Fixed issue with partials not loading #24

Merged
merged 1 commit into from Oct 24, 2013

Conversation

Projects
None yet
5 participants
Contributor

gotdibbs commented Oct 18, 2013

Resolves an issue where partials are not loaded correctly in the event
the options.cache is set to true. Accordingly allows partials to be
loaded once, or loaded every time if caching is disabled.

In order to test both situations where caching may be on or off, we
toggle the process.env.NODE_ENV variable which in effect toggles the
options.cache parameter. Thus I have included grunt to run the same
test suite twice; once as the test suite was run before, and then again
with the environment variable set to production.

@gotdibbs gotdibbs Fixed issue with partials not loading
Resolves an issue where partials are not loaded correctly in the event
the `options.cache` is set to `true`. Accordingly allows partials to be
loaded once, or loaded every time if caching is disabled.

In order to test both situations where caching may be on or off, we
toggle the `process.env.NODE_ENV` variable which in effect toggles the
`options.cache` parameter. Thus I have included grunt to run the same
test suite twice; once as the test suite was run before, and then again
with the environment variable set to production.
2048e3f
Contributor

williamcoates commented Oct 18, 2013

+1

+1 Around?

Contributor

ErisDS commented Oct 24, 2013

@mgutz Any chance we could get this merged?

Contributor

mgutz commented Oct 24, 2013

Yes, will look at it today. Just got back from R&R :)

Contributor

ErisDS commented Oct 24, 2013

Fantastic, hope you enjoyed yourself? The project @gotdibbs and I are working on, Ghost is now public and we're trying to iron out some issues our users are experiencing, as well as make it possible to run on Windows Azure

@mgutz mgutz merged commit 2048e3f into barc:master Oct 24, 2013

gotdibbs deleted the unknown repository branch Oct 24, 2013

Contributor

gotdibbs commented Oct 24, 2013

Thanks @mgutz !!

Awesome. Thank you!

On Oct 24, 2013, at 12:00 PM, William Dibbern notifications@github.com wrote:

Thanks @mgutz !!


Reply to this email directly or view it on GitHub.

Contributor

ErisDS commented Oct 24, 2013

🍰 woop woop! Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment