{"action":"created","comment":{"url":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/comments/37209054","id":37209054,"diff_hunk":"@@ -1,87 +1,326 @@\n enb-xjst\n-========\n+===========\n \n-[![NPM version](https://img.shields.io/npm/v/enb-xjst.svg?style=flat)](https://www.npmjs.org/package/enb-xjst) [![Build Status](https://img.shields.io/travis/enb-bem/enb-xjst/master.svg?style=flat&label=tests)](https://travis-ci.org/enb-bem/enb-xjst) [![Build status](https://img.shields.io/appveyor/ci/blond/enb-xjst.svg?style=flat&label=windows)](https://ci.appveyor.com/project/blond/enb-xjst) [![Coverage Status](https://img.shields.io/coveralls/enb-bem/enb-xjst.svg?style=flat)](https://coveralls.io/r/enb-bem/enb-xjst?branch=master) [![Dependency Status](https://img.shields.io/david/enb-bem/enb-xjst.svg?style=flat)](https://david-dm.org/enb-bem/enb-xjst)\n+[![NPM version](https://img.shields.io/npm/v/enb-xjst.svg?style=flat)](https://www.npmjs.org/package/enb-xjst) \n+[![Build Status](https://img.shields.io/travis/enb-bem/enb-xjst/master.svg?style=flat&label=tests)](https://travis-ci.org/enb-bem/enb-xjst) \n+[![Build status](https://img.shields.io/appveyor/ci/blond/enb-xjst.svg?style=flat&label=windows)](https://ci.appveyor.com/project/blond/enb-xjst) \n+[![Coverage Status](https://img.shields.io/coveralls/enb-bem/enb-xjst.svg?style=flat)](https://coveralls.io/r/enb-bem/enb-xjst?branch=master) \n+[![Dependency Status](https://img.shields.io/david/enb-bem/enb-xjst.svg?style=flat)](https://david-dm.org/enb-bem/enb-xjst)\n \n-Поддержка технологий на&nbsp;основе [XJST](https://bem.info/tools/templating-engines/xjst/).\n-Базовые шаблоны для BEMHTML находятся в&nbsp;[bem-bl](https://ru.bem.info/libs/bem-bl/current/).\n+Пакет предоставляет набор [ENB](https://ru.bem.info/tools/bem/enb-bem/)-технологий \n+для сборки [BEMHTML](https://ru.bem.info/technology/bemhtml/current/reference/)- \n+и [BEMTREE](https://ru.bem.info/technology/bemtree/)-шаблонов в проектах, \n+построенных по [методологии БЭМ](https://ru.bem.info/method/).\n \n-Используется XJST-транслятор из пакета [bem-bl-xjst](https://github.com/bem/bem-bl-xjst). Для базовых шаблонов из `bem-bl@1.x` следует использовать `bem-bl-xjst@1.x`, для `bem-bl@2.x` — `bem-bl-xjst@2.x`.\n+**Важно**: базовые шаблоны для BEMHTML и BEMTREE находятся в библиотеке [bem-bl](https://ru.bem.info/libs/bem-bl/). \n+Для технологий, базовые шаблоны которых находятся в библиотеке [bem-core](https://ru.bem.info/libs/bem-core/), следует \n+использовать пакет [enb-bemxjst](https://ru.bem.info/tools/bem/enb-bemxjst/readme/).\n \n-**Внимание**: для технологий, базовые шаблоны которых находятся в&nbsp;библиотеке [bem-core](https://ru.bem.info/libs/bem-core/current/), следует использовать [enb-bemxjst](https://github.com/enb-bem/enb-bemxjst) пакет.\n+**Технологии пакета `enb-xjst`:**\n+\n+* [bemhtml](api.ru.md#bemhtml)\n+* [bemtree](api.ru.md#bemtree)\n+* [bemjson-to-html](api.ru.md#bemjson-to-html)\n+\n+Принципы работы технологий и их API описаны в документе [API технологий](api.ru.md).\n+\n+**Совместимость:** технологии пакета `enb-xjst` используют [компилятор XJST](https://github.com/bem/bem-bl-xjst) версии `2.1.4`.\n \n Установка\n-----------\n+---------\n+\n+Установите пакет `enb-xjst`:\n+\n+```sh\n+$ npm install --save-dev enb-xjst\n+```\n+\n+**Требования:** зависимость от пакета `enb` версии `0.16.0` и выше.\n+\n+Обзор документа\n+---------------\n+\n+* [Быстрый старт](#Быстрый-старт)\n+* [Работа с технологиями](#Работа-с-технологиями)\n+    * [Исполнение шаблонов в Node.js](#Исполнение-шаблонов-в-nodejs)\n+    * [Исполнение шаблонов в браузере](#Исполнение-шаблонов-в-браузере)\n+    * [Использование шаблонов для сборки HTML](#Использование-шаблонов-для-сборки-html)\n+* [Особенности работы пакета](#Особенности-работы-пакета)\n+    * [Подключение сторонних библиотек](#Подключение-сторонних-библиотек)\n+    * [Синтаксис](#Синтаксис)\n+    * [Асинхронная шаблонизация](#Асинхронная-шаблонизация)\n+    * [Интернационализация](#Интернационализация)\n+* [Дополнительная документация](#Дополнительная-документация)\n+\n+Быстрый старт\n+-------------\n+\n+Подключите необходимые технологии: [bemhtml](api.ru.md#bemhtml), [bemtree](api.ru.md#bemtree).\n+\n+```js\n+var BemtreeTech = require('enb-xjst/techs/bemtree'),\n+    BemhtmlTech = require('enb-xjst/techs/bemhtml'),\n+    FileProvideTech = require('enb/techs/file-provider'),\n+    bemTechs = require('enb-bem-techs');\n+\n+ module.exports = function(config) {\n+     config.node('bundle', function(node) {\n+         // Получаем FileList\n+         node.addTechs([\n+             [FileProvideTech, { target: '?.bemdecl.js' }],\n+             [bemTechs.levels, levels: ['blocks']],\n+             bemTechs.deps,\n+             bemTechs.files\n+         ]);\n+\n+         // Создаем BEMTREE-файл\n+         node.addTech(BemtreeTech);\n+         node.addTarget('?.bemtree.js');\n+\n+         // Создаем BEMHTML-файл\n+         node.addTech(BemhtmlTech);\n+         node.addTarget('?.bemhtml.js');\n+     });\n+ };\n+```\n+\n+Для сборки HTML используйте технологию [bemjson-to-html](api.ru.md#bemjson-to-html).\n+\n+```js\n+var BemjsonToHtmlTech = require('enb-xjst/techs/bemjson-to-html'),\n+    BemhtmlTech = require('enb-xjst/techs/bemhtml'),\n+    FileProvideTech = require('enb/techs/file-provider'),\n+    bemTechs = require('enb-bem-techs');\n+\n+module.exports = function(config) {\n+    config.node('bundle', function(node) {\n+        // Получаем BEMJSON-файл\n+        node.addTech([FileProvideTech, { target: '?.bemjson.js' }]);\n+\n+        // Получаем FileList\n+        node.addTechs([\n+            [bemTechs.levels, levels: ['blocks']],\n+            bemTechs.bemjsonToBemdecl,\n+            bemTechs.deps,\n+            bemTechs.files\n+        ]);\n+\n+        // Собираем BEMHTML-файл\n+        node.addTech(BemhtmlTech);\n+        node.addTarget('?.bemhtml.js');\n+\n+        // Создаем HTML-файл\n+        node.addTech(BemjsonToHtmlTech);\n+        node.addTarget('?.html');\n+    });\n+};\n+```\n+\n+Работа с технологиями\n+---------------------\n+\n+По БЭМ-методологии шаблоны к каждому блоку хранятся в отдельных файлах с расширением `.bemhtml` или `.bemtree.xjst` в директориях блоков. \n+Чтобы использовать шаблоны, необходимо собрать их исходные файлы.\n+\n+Отдельные файлы с шаблонами (`.bemhtml` или `.bemtree.xjst`) собираются в один общий \n+файл (`?.bemhtml.js` или `?.bemtree.xjst.js`) с помощью одной из следующих технологий:\n+\n+* [bemhtml](api.ru.md#bemhtml)\n+* [bemtree](api.ru.md#bemtree)\n+\n+Результат — скомпилированный файл `?.bemhtml.js` или `?.bemtree.xjst.js` — может применяться по-разному \n+в зависимости от наличия модульной системы и ее типа в следующих случаях:\n+\n+* [в Node.js](#Исполнение-шаблонов-в-nodejs)\n+* [в браузере](#Исполнение-шаблонов-в-браузере)\n+* [для сборки HTML](#Использование-шаблонов-для-сборки-html)\n+\n+### Исполнение шаблонов в Node.js\n+\n+Скомпилированный файл подключается как модуль в формате [CommonJS](http://www.commonjs.org/).\n+\n+```js\n+var BEMTREE = require('bundle.bemtree.xjst.js').BEMTREE, // Путь до скомпилированного BEMTREE-файла\n+    BEMHTML = require('bundle.bemhtml.js').BEMHTML; // Путь до скомпилированного BEMHTML-файла\n \n+BEMTREE.apply({ block: 'page', data: { /* ... */ } })\n+    .then(function (bemjson) {\n+        var html = BEMHTML.apply(bemjson);\n+    });\n ```\n-npm install --save-dev enb-xjst\n+\n+### Исполнение шаблонов в браузере\n+\n+Скомпилированный файл подключается на страницу как JavaScript-файл.\n+\n+```html\n+<script src=\"bundle.bemtree.xjst.js\"></script>\n+<script src=\"bundle.bemhtml.js\"></script>\n ```\n \n-Для работы модуля требуется зависимость от пакета `enb` версии `0.13.0` или выше, а так же `bem-bl-xjst` версии `1.3.2` или выше.\n+В браузере способы исполнения шаблонов зависят от наличия модульной системы:\n+\n+* **Без модульной системы**\n+\n+  Шаблоны доступны из глобальной переменной `BEMHTML` или `BEMTREE`.\n+\n+  ```js\n+  BEMTREE.apply({ block: 'page', data: { /* ... */ } })\n+      .then(function (bemjson) {\n+          var html = BEMHTML.apply(bemjson);\n+      });\n+  ```\n+* **С модульной системой YModules**\n+\n+  Шаблоны доступны из модульной системы ([YModules](https://ru.bem.info/tools/bem/modules/)):\n+\n+  ```js\n+  modules.require(['BEMTREE', 'BEMHTML'], function(BEMTREE, BEMHTML) {\n+      BEMTREE.apply({ block: 'page', data: { /* ... */ } })\n+          .then(function (bemjson) {\n+              var html = BEMHTML.apply(bemjson);\n+          });\n+  });\n+  ```\n+\n+### Использование шаблонов для сборки HTML\n+\n+HTML – результат применения скомпилированного шаблона к указанному [BEMJSON](https://ru.bem.info/technology/bemjson/current/bemjson/)-файлу.\n+\n+Сборка HTML (файл `?.html`) с помощью технологий `enb-xjst` проходит в два этапа:\n+\n+1. Файл `?.bemhtml.js` собирается с помощью технологии [bemhtml](api.ru.md#bemhtml).\n+2. BEMJSON и скомпилированный `?.bemhtml.js-файл` обрабатываются с помощью технологии [bemjson-to-html](#bemjson-to-html), которая возвращает HTML-файл (`?.html`).\n+\n+Особенности работы пакета\n+-------------------------\n+\n+### Подключение сторонних библиотек\n+\n+Технологии [bemhtml](api.ru.md#bemhtml) и [bemtree](api.ru.md#bemtree) поддерживают возможность подключения сторонних \n+библиотек как глобально, так и для разных модульных систем с помощью опции [requires](api.ru.md#requires).\n+\n+Для подключения укажите название библиотеки и в зависимости от используемой модульной системы:\n \n-Технологии\n-----------\n-* [bemhtml](#bemhtml)\n-* [bemtree](#bemtree)\n-* [bemjson-to-html](#bemjson-to-html)\n+* имя глобальной переменной;\n+* имя модуля из YModules;\n+* путь к модулю для CommonJS.\n \n-### bemhtml\n+```js\n+{\n+    requires: {\n+        'lib-name': {\n+            globals: 'libName',           // Название переменной в глобальной видимости\n+            ym: 'lib-name',               // Имя модуля из YModules\n+            commonJS: 'path/to/lib-name'  // Путь к модулю CommonJS относительно собираемого файла\n+        }\n+    }\n+}\n+```\n+\n+В шаблонах модули будут доступны с помощью метода `this.require`, например:\n \n-Склеивает BEMHTML-файлы по deps'ам, обрабатывает XJST-транслятором, сохраняет (по умолчанию) в виде `?.bemhtml.js`.\n+```js\n+block('button').content()(function () {\n+    var lib = this.require('lib-name');\n \n-**Опции**\n+    return lib.hello();\n+});\n+```\n \n-* *String* **target** — результирующий таргет. По умолчанию — `?.bemhtml.js`.\n-* *String* **filesTarget** — `files`-таргет, на основе которого получается список исходных файлов (его предоставляет технология `files`). По умолчанию — `?.files`.\n-* *String* **sourceSuffixes** — суффиксы файлов, по которым строится `files`-таргет. По умолчанию — BEMHTML.\n-* *String* **exportName** — имя переменной-обработчика BEMHTML. По умолчанию — `'BEMHTML'`.\n-* *String* **applyFuncName** — имя `apply`-функции базового шаблона BEMHTML. По умолчанию — `'apply'`.\n-* *Boolean* **devMode** — development-режим.  По умолчанию `true`.\n-* *Boolean* **cache** — кеширование. По умолчанию — `false`.\n-* *Object* **requires** — Объект с объявлением зависимостей для различных модульных систем. По умолчанию — пустой объект.\n+Не обязательно указывать все модульные системы для подключения библиотеки.\n \n-**Пример**\n+Например, можно указать зависимости глобально. В этом случае модуль всегда будет передаваться из глобальной переменной, \n+даже если в среде исполнения будет модульная система.\n \n-```javascript\n-nodeConfig.addTech(require('enb-xjst/techs/bemhtml'));\n+```js\n+{\n+    requires: {\n+        'lib-name': {\n+            globals: 'dependName' // Название переменной в глобальной видимости\n+        }\n+    }\n+}\n ```\n \n-### bemtree\n+**Пример подключения библиотеки `moment`**\n \n-Склеивает `bemtree.xjst`-файлы по deps'ам, обрабатывает XJST-транслятором, сохраняет (по умолчанию) в виде `?.bemtree.xjst.js`.\n+Указывается путь к модулю:\n \n-**Опции**\n+```js\n+{\n+    requires: {\n+        moment: {\n+            commonJS: 'moment',  // Путь к модулю CommonJS относительно собираемого файла\n+        }\n+    }\n+}\n+```\n \n-* *String* **target** — результирующий таргет. По умолчанию — `?.bemtree.xjst.js`.\n-* *String* **filesTarget** — `files`-таргет, на основе которого получается список исходных файлов (его предоставляет технология `files`). По умолчанию — `?.files`.\n-* *String* **sourceSuffixes** — суффиксы файлов, по которым строится `files`-таргет. По умолчанию — `bemtree.xjst`.\n-* *String* **exportName** — имя переменной-обработчика BEMTREE. По умолчанию — `'BEMTREE'`.\n-* *String* **applyFuncName** — имя `apply`-функции базового шаблона BEMTREE. По умолчанию — `'apply'`.\n-* *Boolean* **devMode** — development-режим. По умолчанию `true`.\n-* *Boolean* **includeVow** - флаг, позволяющий подключать код `vow` в шаблон. По умолчанию `true`.\n+В шаблонах модуль будет доступен с помощью метода `this.require('moment')`. Код шаблона пишется один раз, одинаково для исполнения в браузере и в `Node.js`:\n \n-**Пример**\n+```js\n+block('post').elem('data').content()(function () {\n+    var moment = this.require('moment'),  // Библиотека `moment`\n \n-```javascript\n-nodeConfig.addTech(require('enb-xjst/techs/bemtree'));\n+    // Время в миллисекундах, полученное с сервера\n+    return moment(ctx.param.date).format('YYYY-MM-DD HH:mm:ss');\n+});\n ```\n \n-### bemjson-to-html\n+### Синтаксис\n+\n+Существует два синтаксиса для шаблонов BEMHTML и BEMTREE:\n+\n+* [JS-синтаксис](https://ru.bem.info/technology/bemhtml/current/bemhtml-js-syntax/)\n+* [сокращенный синтаксис](https://ru.bem.info/technology/bemhtml/current/reference/)\n+\n+#### Какой выбрать?","path":"README.md","position":320,"original_position":320,"commit_id":"c02a314f600cf1dbb5d6082621af2e937d55fa40","original_commit_id":"c02a314f600cf1dbb5d6082621af2e937d55fa40","user":{"login":"blond","id":2225579,"avatar_url":"https://avatars.githubusercontent.com/u/2225579?v=3","gravatar_id":"","url":"https://api.github.com/users/blond","html_url":"https://github.com/blond","followers_url":"https://api.github.com/users/blond/followers","following_url":"https://api.github.com/users/blond/following{/other_user}","gists_url":"https://api.github.com/users/blond/gists{/gist_id}","starred_url":"https://api.github.com/users/blond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blond/subscriptions","organizations_url":"https://api.github.com/users/blond/orgs","repos_url":"https://api.github.com/users/blond/repos","events_url":"https://api.github.com/users/blond/events{/privacy}","received_events_url":"https://api.github.com/users/blond/received_events","type":"User","site_admin":false},"body":"Я бы отказался от этого подзаголовка и оставил только то, что компилятор поддерживает только сокращенный синтаксис.","created_at":"2015-08-17T16:52:52Z","updated_at":"2015-08-17T16:52:52Z","html_url":"https://github.com/enb-bem/enb-xjst/pull/78#discussion_r37209054","pull_request_url":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/comments/37209054"},"html":{"href":"https://github.com/enb-bem/enb-xjst/pull/78#discussion_r37209054"},"pull_request":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/78","id":42581979,"html_url":"https://github.com/enb-bem/enb-xjst/pull/78","diff_url":"https://github.com/enb-bem/enb-xjst/pull/78.diff","patch_url":"https://github.com/enb-bem/enb-xjst/pull/78.patch","issue_url":"https://api.github.com/repos/enb-bem/enb-xjst/issues/78","number":78,"state":"open","locked":false,"title":"Update documentation","user":{"login":"tormozz48","id":996162,"avatar_url":"https://avatars.githubusercontent.com/u/996162?v=3","gravatar_id":"","url":"https://api.github.com/users/tormozz48","html_url":"https://github.com/tormozz48","followers_url":"https://api.github.com/users/tormozz48/followers","following_url":"https://api.github.com/users/tormozz48/following{/other_user}","gists_url":"https://api.github.com/users/tormozz48/gists{/gist_id}","starred_url":"https://api.github.com/users/tormozz48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tormozz48/subscriptions","organizations_url":"https://api.github.com/users/tormozz48/orgs","repos_url":"https://api.github.com/users/tormozz48/repos","events_url":"https://api.github.com/users/tormozz48/events{/privacy}","received_events_url":"https://api.github.com/users/tormozz48/received_events","type":"User","site_admin":false},"body":"Resolved #59 \r\n\r\n@blond @tadatuta @innabelaya \r\n\r\nPlease review it","created_at":"2015-08-17T12:21:51Z","updated_at":"2015-08-17T16:52:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1270be3e6eda7fb0f1e72eee899d6d776625ff5e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/78/commits","review_comments_url":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/78/comments","review_comment_url":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enb-bem/enb-xjst/issues/78/comments","statuses_url":"https://api.github.com/repos/enb-bem/enb-xjst/statuses/c02a314f600cf1dbb5d6082621af2e937d55fa40","head":{"label":"enb-bem:issue-59","ref":"issue-59","sha":"c02a314f600cf1dbb5d6082621af2e937d55fa40","user":{"login":"enb-bem","id":8117111,"avatar_url":"https://avatars.githubusercontent.com/u/8117111?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-bem","html_url":"https://github.com/enb-bem","followers_url":"https://api.github.com/users/enb-bem/followers","following_url":"https://api.github.com/users/enb-bem/following{/other_user}","gists_url":"https://api.github.com/users/enb-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-bem/subscriptions","organizations_url":"https://api.github.com/users/enb-bem/orgs","repos_url":"https://api.github.com/users/enb-bem/repos","events_url":"https://api.github.com/users/enb-bem/events{/privacy}","received_events_url":"https://api.github.com/users/enb-bem/received_events","type":"Organization","site_admin":false},"repo":{"id":10332565,"name":"enb-xjst","full_name":"enb-bem/enb-xjst","owner":{"login":"enb-bem","id":8117111,"avatar_url":"https://avatars.githubusercontent.com/u/8117111?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-bem","html_url":"https://github.com/enb-bem","followers_url":"https://api.github.com/users/enb-bem/followers","following_url":"https://api.github.com/users/enb-bem/following{/other_user}","gists_url":"https://api.github.com/users/enb-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-bem/subscriptions","organizations_url":"https://api.github.com/users/enb-bem/orgs","repos_url":"https://api.github.com/users/enb-bem/repos","events_url":"https://api.github.com/users/enb-bem/events{/privacy}","received_events_url":"https://api.github.com/users/enb-bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb-bem/enb-xjst","description":"XJST support for ENB","fork":false,"url":"https://api.github.com/repos/enb-bem/enb-xjst","forks_url":"https://api.github.com/repos/enb-bem/enb-xjst/forks","keys_url":"https://api.github.com/repos/enb-bem/enb-xjst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-bem/enb-xjst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-bem/enb-xjst/teams","hooks_url":"https://api.github.com/repos/enb-bem/enb-xjst/hooks","issue_events_url":"https://api.github.com/repos/enb-bem/enb-xjst/issues/events{/number}","events_url":"https://api.github.com/repos/enb-bem/enb-xjst/events","assignees_url":"https://api.github.com/repos/enb-bem/enb-xjst/assignees{/user}","branches_url":"https://api.github.com/repos/enb-bem/enb-xjst/branches{/branch}","tags_url":"https://api.github.com/repos/enb-bem/enb-xjst/tags","blobs_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-bem/enb-xjst/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-bem/enb-xjst/languages","stargazers_url":"https://api.github.com/repos/enb-bem/enb-xjst/stargazers","contributors_url":"https://api.github.com/repos/enb-bem/enb-xjst/contributors","subscribers_url":"https://api.github.com/repos/enb-bem/enb-xjst/subscribers","subscription_url":"https://api.github.com/repos/enb-bem/enb-xjst/subscription","commits_url":"https://api.github.com/repos/enb-bem/enb-xjst/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-bem/enb-xjst/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-bem/enb-xjst/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-bem/enb-xjst/contents/{+path}","compare_url":"https://api.github.com/repos/enb-bem/enb-xjst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-bem/enb-xjst/merges","archive_url":"https://api.github.com/repos/enb-bem/enb-xjst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-bem/enb-xjst/downloads","issues_url":"https://api.github.com/repos/enb-bem/enb-xjst/issues{/number}","pulls_url":"https://api.github.com/repos/enb-bem/enb-xjst/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-bem/enb-xjst/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-bem/enb-xjst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-bem/enb-xjst/labels{/name}","releases_url":"https://api.github.com/repos/enb-bem/enb-xjst/releases{/id}","created_at":"2013-05-28T09:50:00Z","updated_at":"2015-07-30T19:26:42Z","pushed_at":"2015-08-17T12:21:51Z","git_url":"git://github.com/enb-bem/enb-xjst.git","ssh_url":"git@github.com:enb-bem/enb-xjst.git","clone_url":"https://github.com/enb-bem/enb-xjst.git","svn_url":"https://github.com/enb-bem/enb-xjst","homepage":"","size":819,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":7,"forks":11,"open_issues":7,"watchers":12,"default_branch":"master"}},"base":{"label":"enb-bem:master","ref":"master","sha":"795412e56057598ebadb5991bf6dcd9b522d43d4","user":{"login":"enb-bem","id":8117111,"avatar_url":"https://avatars.githubusercontent.com/u/8117111?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-bem","html_url":"https://github.com/enb-bem","followers_url":"https://api.github.com/users/enb-bem/followers","following_url":"https://api.github.com/users/enb-bem/following{/other_user}","gists_url":"https://api.github.com/users/enb-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-bem/subscriptions","organizations_url":"https://api.github.com/users/enb-bem/orgs","repos_url":"https://api.github.com/users/enb-bem/repos","events_url":"https://api.github.com/users/enb-bem/events{/privacy}","received_events_url":"https://api.github.com/users/enb-bem/received_events","type":"Organization","site_admin":false},"repo":{"id":10332565,"name":"enb-xjst","full_name":"enb-bem/enb-xjst","owner":{"login":"enb-bem","id":8117111,"avatar_url":"https://avatars.githubusercontent.com/u/8117111?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-bem","html_url":"https://github.com/enb-bem","followers_url":"https://api.github.com/users/enb-bem/followers","following_url":"https://api.github.com/users/enb-bem/following{/other_user}","gists_url":"https://api.github.com/users/enb-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-bem/subscriptions","organizations_url":"https://api.github.com/users/enb-bem/orgs","repos_url":"https://api.github.com/users/enb-bem/repos","events_url":"https://api.github.com/users/enb-bem/events{/privacy}","received_events_url":"https://api.github.com/users/enb-bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb-bem/enb-xjst","description":"XJST support for ENB","fork":false,"url":"https://api.github.com/repos/enb-bem/enb-xjst","forks_url":"https://api.github.com/repos/enb-bem/enb-xjst/forks","keys_url":"https://api.github.com/repos/enb-bem/enb-xjst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-bem/enb-xjst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-bem/enb-xjst/teams","hooks_url":"https://api.github.com/repos/enb-bem/enb-xjst/hooks","issue_events_url":"https://api.github.com/repos/enb-bem/enb-xjst/issues/events{/number}","events_url":"https://api.github.com/repos/enb-bem/enb-xjst/events","assignees_url":"https://api.github.com/repos/enb-bem/enb-xjst/assignees{/user}","branches_url":"https://api.github.com/repos/enb-bem/enb-xjst/branches{/branch}","tags_url":"https://api.github.com/repos/enb-bem/enb-xjst/tags","blobs_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-bem/enb-xjst/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-bem/enb-xjst/languages","stargazers_url":"https://api.github.com/repos/enb-bem/enb-xjst/stargazers","contributors_url":"https://api.github.com/repos/enb-bem/enb-xjst/contributors","subscribers_url":"https://api.github.com/repos/enb-bem/enb-xjst/subscribers","subscription_url":"https://api.github.com/repos/enb-bem/enb-xjst/subscription","commits_url":"https://api.github.com/repos/enb-bem/enb-xjst/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-bem/enb-xjst/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-bem/enb-xjst/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-bem/enb-xjst/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-bem/enb-xjst/contents/{+path}","compare_url":"https://api.github.com/repos/enb-bem/enb-xjst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-bem/enb-xjst/merges","archive_url":"https://api.github.com/repos/enb-bem/enb-xjst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-bem/enb-xjst/downloads","issues_url":"https://api.github.com/repos/enb-bem/enb-xjst/issues{/number}","pulls_url":"https://api.github.com/repos/enb-bem/enb-xjst/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-bem/enb-xjst/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-bem/enb-xjst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-bem/enb-xjst/labels{/name}","releases_url":"https://api.github.com/repos/enb-bem/enb-xjst/releases{/id}","created_at":"2013-05-28T09:50:00Z","updated_at":"2015-07-30T19:26:42Z","pushed_at":"2015-08-17T12:21:51Z","git_url":"git://github.com/enb-bem/enb-xjst.git","ssh_url":"git@github.com:enb-bem/enb-xjst.git","clone_url":"https://github.com/enb-bem/enb-xjst.git","svn_url":"https://github.com/enb-bem/enb-xjst","homepage":"","size":819,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":7,"forks":11,"open_issues":7,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/78"},"html":{"href":"https://github.com/enb-bem/enb-xjst/pull/78"},"issue":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/issues/78"},"comments":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/enb-bem/enb-xjst/statuses/c02a314f600cf1dbb5d6082621af2e937d55fa40"}}}}