An open API service indexing awesome lists of open source software.

https://github.com/bem/bem-core-dist

Prebuilt version of bem-core library
https://github.com/bem/bem-core-dist

Last synced: about 1 year ago
JSON representation

Prebuilt version of bem-core library

Awesome Lists containing this project

README

          

# bem-core-dist

This is precompiled version of [bem-core](https://en.bem.info/libs/bem-core/) library. All the files are also available at CDN. For more info please refer to [usage documentation](https://en.bem.info/libs/bem-core/current/#use).

## Contents
There are two sets for different platforms:
* desktop
* touch

Each of them includes:
* bem-core.bemhtml.js — BEMHTML templates
* bem-core.bh.js — BH templates

* bem-core.css — styles

* bem-core.dev.bemhtml.js — non-minified BEMHTML templates
* bem-core.dev.bh.js — non-minified BH templates
* bem-core.dev.css — non-minified styles
* bem-core.dev.js — non-minified scripts
* bem-core.dev.js+bemhtml.js — non-minified scripts + BEMHTML templates
* bem-core.dev.js+bh.js — non-minified scripts + BH templates
* bem-core.js — scripts
* bem-core.js+bemhtml.js — scripts + BEMHTML templates
* bem-core.js+bh.js — scripts + BH templates

* bem-core.dev.no-autoinit.js — non-minified scripts with autoinit
* bem-core.dev.no-autoinit.js+bemhtml.js — non-minified scripts with autoinit + BEMHTML templates
* bem-core.dev.no-autoinit.js+bh.js — non-minified scripts with autoinit + BH templates

* bem-core.no-autoinit.js — scripts without autoinit
* bem-core.no-autoinit.js+bemhtml.js — scripts without autoinit + BEMHTML templates
* bem-core.no-autoinit.js+bh.js — scripts without autoinit + BH templates

Important: If you're going to write your own code with `i-bem.js` you must use bundles without autoinit and call initialization manually.

## HTML template to use the dist with

```html



bem-core dist

modules.require('i-bem-dom__init', function(init) {
init();
});

```