Bem Xjst Versions Save

bem-xjst (eXtensible JavaScript Templates): declarative template engine for the browser and server

v8.9.3

6 years ago

From v8.6.8 exportName was in lower case (bemhtml or bemtree). Now this degradation fixed.

Commits:

  • [2cbdb1635a] - Merge pull request #517 from bem/issue-516_export-name (Slava Oliyanchuk)

v8.9.2

6 years ago
  1. New singleQuotesInJsAttrs option. Read documentation.

  2. Fixed bug with runtime lint and circular json in stack trace.

  3. Documentation updated: templates will be applyed for any attrs field with BEM-entities.

v6.7.2

6 years ago

Compiler: runtime lint path fixed (issue #502).

Commits:

  • [33106ae8e3] - Compiler: runtime lint path fixed (issue #502) (miripiruni)

v7.7.7

6 years ago

Compiler: runtime lint path fixed (issue #502).

Commits:

  • [dd1545acd0] - Merge pull request #513 from bem/issue-502__runtime-path-in-7.x (Slava Oliyanchuk)

v8.9.1

6 years ago

Bug fixed: dot-delimited dependencies from global scope in object notation.

Example:

var bundle = bemhtml.generate('', { requires: { i18n: { globals: 'BEM.I18N' } } });

Notation with dot (BEM.I18N) did not work from v8.6.7 to v8.9.0. Now this bug fixed.

Commits:

  • [fc7b19fc4f] - Merge pull request #501 from dustyo-O/global-dot-delimited-deps (Slava Oliyanchuk)

v8.9.0

6 years ago

Brand new object-like shortcut syntax. See docs for examples.

v8.8.8

6 years ago

Module require resolving refactor. See docs.

In other case, if you specify multiple modular systems, template will attempt to get it from them in this order:

  1. Global
  2. CommonJS
  3. YModules (if available)

If required module was found on some step, next steps will be ignored and template will use that first retrieved module.

Thus, if module available in global variable, its value will be provided inside template, in spite of module avialability in CommonJS/YModules.

Same way, CommonJS module is more prior to YModules one.

Commits:

  • [4b1b87c427] - Module require resolving refactor (#493)

v8.8.7

6 years ago

Dependency enb/enb-source-map updated to v1.12.0.

Commits:

  • [2ac8eb7339] - Deps: enb/enb-source-map 1.12.0 (miripiruni)

v8.8.6

6 years ago
  1. Don't output i-bem html class if cls() and bem:false (issue #499)
  2. Documentation: minor codestyle issues fixed

v8.9.0-rc.0

6 years ago

Release candidate for shortcut syntax.

See issue #444