-
Notifications
You must be signed in to change notification settings - Fork 122
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
Conversation
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(){ |
There was a problem hiding this comment.
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" 😄
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; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
LGTM |
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(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome 👍
good job @matteofigus // cc @antwhite |
This is the last PR for fixing #252 - following #243