bem / bem-bl Goto Github PK
View Code? Open in Web Editor NEWBase BEM library
Home Page: http://bem.github.com/bem-bl/
Base BEM library
Home Page: http://bem.github.com/bem-bl/
Page loooks wrong
Check if everythhing about the block is written in wiki files. http://clubs.ya.ru/bem/replies.xml?item_no=1214
Describe JavaScript API of the block. Take information from here http://clubs.ya.ru/bem/replies.xml?item_no=1215
Давайте добавим в /i-jquery/__core / файл jquery.min.js, это даст возможность переопределить yandex.st/jquery/1.6.2/jquery.min.js и можно будет продолжать разрабатываться оффлайн, если возникнет такая необходимость
Translate 'naming' page into English
Give information from here http://clubs.ya.ru/bem/replies.xml?item_no=992
Usage of local
statements, which can be noticed, for instance, in b-page
block, is not enough clear.
http://bem.github.com/bem-bl/sets/common-desktop/i-bem/i-bem.ru.html:
Также существуют методы hasMod(), getMod/getMods(), toggleMod() и delMod().
Сигнатуры этих методов доступны в референсе по BEM.
Link in the last sentence should point to https://github.com/bem/bem-bl/blob/master/blocks-common/i-bem/i-bem.js (I guess).
name: -> block:
Remove "require BEM" in JSdoc
It is necessary to have at least .ru.title.txt file for every block. This title is shown at the first page of documentation site.
Describe the block in .ru.wiki file if possible.
The title of b-layout block has tag that brokes HTML on the whole page.
There needs to be a possibility to modify HTML tag: to add classes and attributes (e.g. a namespace).
Full description is here http://clubs.ya.ru/bem/replies.xml?item_no=1160
Write documentation for the block in wiki format.
Copy from here http://clubs.ya.ru/bem/replies.xml?item_no=1178
// bemjson.js
{
block: 'b-myblock',
mods: { theme: 'white' },
content: {
block: 'b-myblock',
content: 'blah'
}
}
// b-myblock.bemhtml
block b-myblock, mods theme white {
tag: 'span'
}
Result HTML is span > span
, but span > div
is expected.
Usage of local
statements, which can be noticed, for instance, in b-page
block, is not clear enough.
Block has to have .ru.title.txt file
This has to be realized for all situations. Not only for clicks.
Check if everything about the block is in wiki files.
Post about it in the club: http://clubs.ya.ru/bem/posts.xml?tag=8486525
The block has to have at least .ru.title.txt file to be shown at the front page of the documentation site.
Cope some from here http://clubs.ya.ru/bem/replies.xml?item_no=1161
Поддержать accessability в случае реализации через span дополнив атрибутами tabindex="0" и role="button" (или ролью role="link" в зависимости от того как предпочитаете считать этот элемент)
Due to the blocks-common/i-bem/bem/techs/js.js
all files in js technology are created with declared empty live
method by default. This is quite confusing behaviour, because I have to intentionally remove this declaration to prevent it from overwriting block initialization on creation by bemjson file.
I convinced, this code should be wrapped by some comments.
Create a block that uses FB API to have comments for every page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.