Answer the question
In order to leave comments, you need to log in
Is it possible to use i-bem.js without "BEM"?
Nonsense, of course, but .. Is it possible to use i-bem in conjunction with bem.bh.php, that is, without a local collector? I will not write long stories about the fact that, they say, projects have already been created. (About why a full stack is not used). I just would like to improve the js side. I really like the technology, but it bites with the lack of up-to-date information. Until now, a cheap jquery plugin has been used, but there are no more forces. (There are 3 of them rejoicing, two of which were updated 2 years ago)
Answer the question
In order to leave comments, you need to log in
If I understand the question correctly, then such "nonsense" is possible:
<!DOCTYPE html>
<html class="ua_js_no">
<head>
<!--[if lt IE 9]><script src="https://yastatic.net/es5-shims/0.0/es5-shims.min.js"></script><![endif]-->
<meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title>bem-components dist</title>
<script>(function(e,c){e[c]=e[c].replace(/(ua_js_)no/g,"$1yes");})(document.documentElement,"className");(function(d,n){d.documentElement.className+=" ua_svg_"+(d[n]&&d[n]("http://www.w3.org/2000/svg","svg").createSVGRect?"yes":"no");})(document,"createElementNS");</script>
<!--[if gt IE 8]><!--><link rel="stylesheet" href="https://yastatic.net/bem-components/latest/desktop/bem-components.css"/>
<!--<![endif]--><!--[if lte IE 8]><link rel="stylesheet" href="https://yastatic.net/bem-components/latest/desktop/bem-components.ie.css"/><![endif]-->
</head>
<body class="page page_theme_islands">
<!-- write your code here -->
<script src="https://yastatic.net/bem-components/latest/desktop/bem-components.js+bh.js"></script>
</body>
</html>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question