Skip to content

v0.4.1

Compare
Choose a tag to compare
@axross axross released this 28 Sep 02:08

Changes

  • the First argument of builder function must be a String.

Before:

const builder = Bemmer.create('aaa');

builder(null, { bbb: true });
// => "aaa aaa--bbb"

After:

const builder = Bemmer.create('aaa');

builder(null, { bbb: true });
// TypeError!

builder('', { bbb: true });
// => "aaa aaa--bbb"