This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const React = require('react'); | |
const ReactDOMServer = require('react-dom/server'); | |
const bemxjst = require('../bem-xjst'); | |
const bemreact = bemxjst.bemreact; | |
const templates = bemreact.compile(function() { | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var walk = require('bem-walk'), | |
Promise = require('bluebird'), | |
toArray = require('stream-to-array'), | |
walkConfig = { | |
levels: { | |
'lib/bem-core/common.blocks': { scheme: 'nested' }, | |
'lib/bem-core/desktop.blocks': { scheme: 'nested' }, | |
'lib/bem-components/common.blocks': { scheme: 'nested' }, | |
'lib/bem-components/desktop.blocks': { scheme: 'nested' }, | |
'common.blocks': { scheme: 'nested' }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require('path'), | |
techs = require('enb-bem-techs'), | |
provide = require('enb/techs/file-provider'), | |
css = require('enb-stylus/techs/css-stylus'), | |
autoprefixer = require('enb-autoprefixer/techs/css-autoprefixer'), | |
js = require('enb-diverse-js/techs/browser-js'), | |
ym = require('enb-modules/techs/prepend-modules'), | |
bemhtml = require('enb-bemxjst/techs/bemhtml'), | |
bemtree = require('enb-bemxjst/techs/bemtree'), | |
mergeFiles = require('enb/techs/file-merge'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.flux-widget .cb-message { | |
font-family: Roboto; | |
font-weight: 300; | |
border-radius: 4px; | |
} | |
.flux-widget .cb-item .cb-message { | |
background: rgba(239, 49, 36, 1); | |
color: rgba(255,255,255,0.9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="menu"> | |
<div class="menu__item">Foo | |
<div class="menu menu_submenu"> | |
<div class="menu__item">Foo</div> | |
<div class="menu__item">Bar</div> | |
<div class="menu__item">Baz</div> | |
</div> | |
</div> | |
<div class="menu__item">Bar</div> | |
<div class="menu__item">Baz</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.deps = [ | |
{ | |
"block": "page" | |
}, | |
{ | |
"block": "page", | |
"elem": "css" | |
}, | |
{ | |
"block": "page", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @module vow-queue | |
* @author Filatov Dmitry <dfilatov@yandex-team.ru> | |
* @version 0.3.1 | |
* @license | |
* Dual licensed under the MIT and GPL licenses: | |
* * http://www.opensource.org/licenses/mit-license.php | |
* * http://www.gnu.org/licenses/gpl.html | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[BS] [DEBUG]: Browser Connected! (Chrome, version: 36.0.1985.135) | |
[BS] [DEBUG]: Browser Connected! (Chrome, version: 34.0.1847.131) | |
[BS] [DEBUG]: Browser Connected! (Yandex, version: 14.7.1916.15575) | |
[BS] [DEBUG]: Browser Connected! (WebKit, version: 537.51.2) | |
[BS] [DEBUG]: Browser Connected! (Firefox, version: 32.0) | |
[BS] [DEBUG]: Browser Connected! (Chrome, version: 37.0.2062.94) | |
[BS] [DEBUG]: Browser Connected! (Safari, version: 7.0.6) | |
[BS] [DEBUG]: Browser Connected! (Mobile Safari, version: 7.0) | |
[BS] [DEBUG]: Browser Connected! (Mobile Safari, version: 7.0) | |
[BS] [DEBUG]: Browser Connected! (Mobile Safari, version: 7.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
block: 'input', | |
mods: {type: 'select'}, | |
options: [ | |
{ | |
name: 'one', | |
val: 1 | |
}, | |
{ | |
name: 'two', |