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

Build mock if not templates #47

Closed
blond opened this issue May 28, 2015 · 0 comments · Fixed by #48
Closed

Build mock if not templates #47

blond opened this issue May 28, 2015 · 0 comments · Fixed by #48
Assignees
Milestone

Comments

@blond
Copy link
Member

blond commented May 28, 2015

If no template need build bundle without bem-xjst core. Instead of it need provide mocks.

This can be useful to build BEMHTML for run in browsers with depsByTech.

For BEMHTML apply method should always returns empty string:

BEMHTML.apply = function () { return ''; };

For BEMTREE apply method should always returns empty object:

BEMTREE.apply = function () { return Vow.resolve({}); };
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 a pull request may close this issue.

1 participant