This commit is contained in:
Oleg Mokhov
2015-06-20 12:26:08 +03:00
committed by mokhov
parent a716969f4e
commit f3546ef3a5
85 changed files with 16682 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
- jquery
- y-block

View File

@@ -0,0 +1,5 @@
modules.require(['jquery', 'y-block'], function ($, YBlock) {
$(function () {
YBlock.initDomTree(window.document).done();
});
});

View File

@@ -0,0 +1,5 @@
# y-block__auto-init:
Автоматическая инициализация блоков на странице.
Для того, чтобы воспользоваться этой функциональностью,
необходимо добавить в зависимости элемент `auto-init` блока `y-block`.