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

[GPT-567] Registering supported templates on componentPreview view #430

Merged
merged 2 commits into from
Apr 5, 2017

Conversation

nickbalestra
Copy link
Contributor

Rely on repository.getTemplates() to register supported templates for client-rendering on the componentPreview view.

Info on repository.getTemplates()

script(src=baseUrl+'oc-client/client.js')
script.
oc.registerTemplates(!{JSON.stringify(templates)});
Copy link
Member

Choose a reason for hiding this comment

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

ok but with pre-config api as previous PR

@matteofigus matteofigus merged commit 012991c into master Apr 5, 2017
@matteofigus matteofigus deleted the GPT-567 branch April 5, 2017 00:18
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