Skip to content
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.

Changes for 1.x #84

Merged
merged 72 commits into from
Jun 17, 2015
Merged

Changes for 1.x #84

merged 72 commits into from
Jun 17, 2015

Conversation

aredridel
Copy link
Contributor

No description provided.

aredridel and others added 30 commits May 5, 2015 17:30
Exported for testing as `engine.dust`
Support for dustjs 2.7.1, breaking compatibility
…is tied closely anyway, allowing our user to provide and vary it is bad.
Add actual dependency on dustjs-linkedin since version compatibility is tied closely anyway, allowing our user to provide and vary it is bad.
… forcing it on and looking for results in dust.cache
Fix a couple more places dust was required
We intentionally didn't add the dependency to this module's package.json such that we didn't want to be in control of it or its versions on behalf of apps. That way app owners can manage the dependency however they see fit and this module can just "enhance" the existing library. It does assume the version of dust.js doesn't change template loading or streaming behavior, but beyond that compatibility should be fine. If there IS a major version change to dust APIs we'll be sure to manage those changes here, so the upgrade/handling of it is transparent.
* Removed the `layout:` option to render and in configuration
* Dust is our own private instance, not global. If you load helpers, you must do it in the configuration of adaro.
* We outright require dust. We will not use your application's instslled version.
Copy link
Member

Choose a reason for hiding this comment

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

oops little typo!


function createRenderContext(options) {
var context;
var freshy = require('freshy').freshy;
Copy link
Member

Choose a reason for hiding this comment

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

mix of styles for variable declaration and line breaks. I like a declaration per line, between the two styles. not necessary to address for merge, just noting it in case you feel like tightening this up.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, may do that. I dislike it too, but change for change's sake never grabbed me. Might be time now.

aredridel added a commit that referenced this pull request Jun 17, 2015
@aredridel aredridel merged commit 98e308e into v1.x Jun 17, 2015
@aredridel aredridel deleted the next branch June 17, 2015 15:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants