FF BEM issue

https://ru.bem.info/forum//#comment-219960041

by SerGen

HTML

<script src="https://yastatic.net/bem-components/latest/desktop/bem-components.js+bh.js"></script>
<link rel="stylesheet" href="https://yastatic.net/bem-components/latest/desktop/bem-components.css">
<button class="button button_theme_islands button_size_m button_togglable_check button__control i-bem" data-bem='{"button":{}}' role="button" type="button" aria-pressed="false">
	<span class="button__text">Я нажата</span>
</button>

JavaScript

// додекларируем модуль button из bem-components
modules.define('button', function(provide, Button) {

	provide(Button.decl({
		onSetMod: {
			js: {
				inited: function() {
					alert('yo!');
					this.bindTo('click', function(e) {
						alert('bem!');
					});
				}
			}
		}
	}));

});