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

[careful + breaking change] Removed Handlebars 3 support #265

Merged
merged 10 commits into from
Jul 14, 2016

Conversation

matteofigus
Copy link
Member

This is the last PR for fixing #252 - following #243

  • This will trigger a new minor version as it's a breaking change
  • All the handlebars 3 stuff has been removed

@matteofigus
Copy link
Member Author

I think this could be kind of ready if you want to start doing a review @antwhite / @mattiaerre?

} else if(compiledViewInfo.type === 'jade'){
oc.require('jade', JADE_URL, function(jade){
oc.require('jade', JADE_URL, function(){
Copy link
Member

Choose a reason for hiding this comment

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

this is not related right? you just removed the parameter as not used by that function correct? a.k.a. "the boy scout rule" 😄

@mattiaerre
Copy link
Member

not sure how it works w/ licenses but what about this?

https://github.com/opentable/oc/blob/handlebars4/src/components/oc-client/LICENSES#L80

@@ -37,24 +37,14 @@ describe('oc-client : render', function(){
var originalHb3, originalHb4;
Copy link
Member

Choose a reason for hiding this comment

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

I think we do not need these variables anymore do we?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok I cleaned up this

@antwhite
Copy link
Collaborator

LGTM

@matteofigus
Copy link
Member Author

Thanks! So, @mattiaerre can you merge when you're happy about the tests? (I added some as requested).

@@ -32,4 +32,43 @@ describe('client : validator', function(){
});
});
});

describe('when validating component', function(){
Copy link
Member

Choose a reason for hiding this comment

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

awesome 👍

@mattiaerre
Copy link
Member

good job @matteofigus
thanks,

// cc @antwhite

@mattiaerre mattiaerre merged commit 780a805 into master Jul 14, 2016
@mattiaerre mattiaerre deleted the handlebars4 branch July 14, 2016 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants