Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actualization for the russian version of BEMHTML reference and sample #355

Merged
merged 1 commit into from
Jan 29, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions common.docs/reference/diagrams.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
\usepgfmodule{oo}
\usetikzlibrary{positioning,backgrounds,external,chains,fit}

\tikzexternalize % activate writing pictures into external files
\tikzexternalize[prefix=reference_] % activate writing pictures into external files

\tikzset{
rounded corners=5pt,
Expand All @@ -28,7 +28,7 @@
\pgfsetlayers{background,highlighter,main}

%% default mode
\tikzsetnextfilename{mode-default}
\tikzsetnextfilename{mode_default}
\begin{tikzpicture}[node distance=1.5ex and .3em]
\begin{scope}[every node/.style={on chain}]
% first row: opening tag
Expand All @@ -46,7 +46,7 @@
% second row: opening tag continued
\begin{scope}[start chain]
\node[mode] (row2) [below right=of row1] {jsAttr} ;
\node[html] {="return \{b-block:} ;
\node[html] {="\{b-block:} ;
\node[mode] {js} ;
\node[html] {, b-mixed:} ;
\node[mode] {mix} ;
Expand Down Expand Up @@ -87,7 +87,7 @@
\end{scope}
% second row: attributes continued
\begin{scope}[start chain]
\node (jsattr) [below right=of row1] {onclick};
\node (jsattr) [below right=of row1] {data-bem};
\node {="\{b-block:};
\node (js2) {\{p1: 'v1'\}};
\node {, };
Expand Down Expand Up @@ -120,59 +120,59 @@
\pgfoonew\htmlback=new htmlback()

% tag mode
\tikzsetnextfilename{mode-tag}
\tikzsetnextfilename{mode_tag}
\begin{tikzpicture}
\htmlback.draw()
\htmlback.highlight(tag1,tag)
\htmlback.highlight(tag2,tag)
\end{tikzpicture}

% bem mode
\tikzsetnextfilename{mode-bem}
\tikzsetnextfilename{mode_bem}
\begin{tikzpicture}
\htmlback.draw()
\htmlback.highlight(bem,bem)
\end{tikzpicture}

% mix mode
\tikzsetnextfilename{mode-mix}
\tikzsetnextfilename{mode_mix}
\begin{tikzpicture}
\htmlback.draw()
\htmlback.highlight(mix1,mix)
\htmlback.highlight(mix2,mix)
\end{tikzpicture}

% cls mode
\tikzsetnextfilename{mode-cls}
\tikzsetnextfilename{mode_cls}
\begin{tikzpicture}
\htmlback.draw()
\htmlback.highlight(cls,cls)
\end{tikzpicture}

% js mode
\tikzsetnextfilename{mode-js}
\tikzsetnextfilename{mode_js}
\begin{tikzpicture}
\htmlback.draw()
\htmlback.highlight(js1,js)
\htmlback.highlight(js2,js)
\end{tikzpicture}

% jsattr mode
\tikzsetnextfilename{mode-jsattr}
\tikzsetnextfilename{mode_jsattr}
\begin{tikzpicture}
\htmlback.draw()
\htmlback.highlight(jsattr,jsattr)
\end{tikzpicture}

% attrs mode
\tikzsetnextfilename{mode-attrs}
\tikzsetnextfilename{mode_attrs}
\begin{tikzpicture}
\htmlback.draw()
\htmlback.highlight(attrs,attrs)
\end{tikzpicture}

% content mode
\tikzsetnextfilename{mode-content}
\tikzsetnextfilename{mode_content}
\begin{tikzpicture}
\htmlback.draw()
\htmlback.highlight(content,content)
Expand Down
4 changes: 2 additions & 2 deletions common.docs/reference/reference.en.meta.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"title": "BEMHTML-Reference",
"createDate": "02-09-2013",
"editDate": "",
"editDate": "29-01-2014",
"summary": "BEMHTML-reference.",
"thumbnail": "",
"authors": ["maslinsky-kirill"],
"authors": ["maslinsky-kirill", "ivanichenko-sergey"],
"tags": ["BEMHTML"],
"categories": [
{"name": "bem-core/1.0.0/BEMHTML", "url": "bem-core/1.0.0/bemhtml", "type": "libs"},
Expand Down
577 changes: 331 additions & 246 deletions common.docs/reference/reference.ru.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions common.docs/reference/reference.ru.meta.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"title": "Референс по BEMHTML",
"createDate": "06-03-2013",
"editDate": "",
"editDate": "29-01-2014",
"summary": "Cправочное руководство по шаблонизатору BEMHTML.",
"thumbnail": "",
"authors": ["maslinsky-kirill"],
"authors": ["maslinsky-kirill", "ivanichenko-sergey"],
"tags": ["BEMHTML"],
"categories": [
{"name": "bem-core/1.0.0/BEMHTML", "url": "bem-core/1.0.0/bemhtml", "type": "libs"},
{"name": "bem-core/1.1.1/BEMHTML", "url": "bem-core/1.1.1/bemhtml", "type": "libs"},
{"name": "Шаблонизаторы/BEMHTML", "url": "templating-engines/bemhtml", "order": "30/10","type": "tools"}
],
"translators": [],
Expand Down
Binary file modified common.docs/reference/reference_mode_attrs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified common.docs/reference/reference_mode_bem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified common.docs/reference/reference_mode_cls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified common.docs/reference/reference_mode_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified common.docs/reference/reference_mode_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified common.docs/reference/reference_mode_js.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified common.docs/reference/reference_mode_jsattr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified common.docs/reference/reference_mode_mix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified common.docs/reference/reference_mode_tag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.