BEMHTML-COMPAT [](http://travis-ci.org/bem/bemhtml-compat) [](http://badge.fury.io/js/bemhtml-compat)

July 3, 2013 ยท View on GitHub

Transpiler from old bemhtml source code to new javascript-compatible code.

Usage

var bemcompat = require('bemhtml-compat');

bemcompat.transpile('block b1, tag: "a"');
/* Returns:
 *   match(this.block === 'b1', this._mode === 'tag')('a');
 */