I hereby claim:
- I am veged on github.
- I am veged (https://keybase.io/veged) on keybase.
- I have a public key whose fingerprint is 7B6C 6961 C252 0AB5 6624 D87E E582 0CCD 0CD4 967E
To claim this, I am signing this object:
(function() { | |
'use strict' | |
const css = document.createElement('style') | |
css.textContent = ` | |
.navbar, | |
.fixed-bottom, | |
#tasklang-dropdown-toggle { | |
display: none; | |
} |
import * as ts from "typescript"; | |
import * as path from "path"; | |
import * as bemImport from '@bem/import-notation'; | |
import * as bemFs from '@bem/fs-scheme'; | |
import * as BemEntityName from '@bem/entity-name'; | |
import * as BemCell from '@bem/cell'; | |
const bemConfig = require('bem-config')(); | |
const bemNaming = require('@bem/naming')('react'); |
{ | |
"root": true, | |
"levels": { | |
"src/containers": { "scheme": "flat", "naming": "react" }, | |
"src/components": { "scheme": "flat", "naming": "react" } | |
}, | |
"modules": { | |
"create-bem-react-app": { | |
"appPath": ".", | |
"appBuild": "build", |
I hereby claim:
To claim this, I am signing this object:
Add ability to develop BEM-projects based on project-stub with BEMTREE and Node.js.
Tested with project-stub@441d3be0cd169cd75818c6d9e0477b812659bf76.
git clone https://github.com/bem/project-stub.git -b bem-core my-bem-project
cd my-bem-project
Мы уже достаточно давно обсуждаем вопрос изменения синтаксиса в BEMHTML. Основные причины такие:
function WITH(obj, parent) { | |
return function W(k, v, a) { | |
return (a = arguments.length) ? | |
(a - 1 ? (obj[k] = v, W) : WITH(obj[k], W)) : | |
parent || obj; | |
} | |
} | |
document.body.appendChild( | |
WITH(document.createElement('iframe')) |
// Continuation-passing style helper | |
var CPS = (function(){ | |
var slice = Array.prototype.slice, | |
slice1 = function(args) { return slice.call(args, 1) }, | |
cont = function(fn, args) { | |
args = slice1(args); | |
return function() { return fn.apply(null, args) } }; |
var times = [(new Date()).getTime()]; | |
// ... | |
times.push((new Date()).getTime() - times[0]); | |
// ... | |
times.push((new Date()).getTime() - times[0]); | |
console.log(times); |