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
- Host: GitHub
- URL: https://github.com/bem/bem-core-dist
- Owner: bem
- Created: 2015-04-03T18:15:30.000Z (about 11 years ago)
- Default Branch: v4
- Last Pushed: 2017-06-21T09:30:53.000Z (about 9 years ago)
- Last Synced: 2025-03-20T19:17:27.443Z (over 1 year ago)
- Language: JavaScript
- Size: 942 KB
- Stars: 7
- Watchers: 28
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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();
});
```