bem-site / bem-method

BEM — a methodology how to develop web projects applicable for any technology
http://bem.info
604 stars 177 forks source link

Maybe wrong usage of convention in "CamelCase style" section. #830

Open kushagra0304 opened 3 years ago

kushagra0304 commented 3 years ago

I think the naming-example in the "CamelCase style" section, which is "blockName-elemName_modName_modVal", should be blockName___elemName_modNamemodVal. The change is "__" from "-" between block name and element name. As written in CamelCase style section, that "The separators for names of blocks, elements, and modifiers are the same as in the standard scheme", then according to standard scheme the element name is separated from the block name by a double underscore (_\).