Skip to content

Commit

Permalink
Docs: describe this.extend() fix for #355
Browse files Browse the repository at this point in the history
  • Loading branch information
miripiruni committed Oct 20, 2016
1 parent ff8ca15 commit 19c4789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/6-templates-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ Result of BEMHTML templating:

* `this.isSimple({*} arg)` Checks whether `arg` is a JavaScript primitive type.
* `this.isShortTag({String} tagName)` Checks whether `tagName` is a tag that doesn’t require a closing element.
* `this.extend({Object} o1, {Object} o2)` Returns new object with all fields from `o1` and `o2`.

### this.reapply()

Expand Down
1 change: 1 addition & 0 deletions docs/ru/6-templates-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ block('input').content()(function() {

* `this.isSimple({*} arg)` Проверяет, является ли `arg` примитивным JavaScript-типом.
* `this.isShortTag({String} tagName)` Проверяет, является ли `tagName` тегом, не требующим закрывающего элемента.
* `this.extend({Object} o1, {Object} o2)` Создаёт новый объект в который складывает все поля из объектов-аргументов: сначала из `o1`, затем из `o2`.

### this.reapply()

Expand Down

0 comments on commit 19c4789

Please sign in to comment.