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

registerTemplate API fix #428

Merged
merged 1 commit into from
Apr 4, 2017
Merged

registerTemplate API fix #428

merged 1 commit into from
Apr 4, 2017

Conversation

nickbalestra
Copy link
Contributor

Found an interdependency issue that wasn't allowing pre registration of templates via config to work correctly.

oc.registerTemplates was not defined in the case of oc.conf.templates already avail.

@matteofigus
Copy link
Member

given it's a bugfix, can you add a test to prove the bug is fixed?

@nickbalestra
Copy link
Contributor Author

Agree, testing oc custom settings like

<script>var oc = { conf: { retryInterval: 2000 }};</script>

is not trivial though. It also seems to me that we don't have tests for similar config API, so perhaps is worth opening an issue to address this separately in another PR? Or am I missing something?

@matteofigus matteofigus merged commit a79eb48 into master Apr 4, 2017
@matteofigus matteofigus deleted the registerTemplaeFixes branch April 4, 2017 10:12
Copy link
Member

@matteofigus matteofigus left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants