{"action":"created","comment":{"url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/comments/35974061","id":35974061,"diff_hunk":"@@ -3,32 +3,247 @@ enb-stylus\n \n [![NPM version](http://img.shields.io/npm/v/enb-stylus.svg?style=flat)](http://www.npmjs.org/package/enb-stylus) [![Build Status](http://img.shields.io/travis/enb-make/enb-stylus/master.svg?style=flat&label=tests)](https://travis-ci.org/enb-make/enb-stylus) [![Build status](https://img.shields.io/appveyor/ci/blond/enb-stylus.svg?style=flat&label=windows)](https://ci.appveyor.com/project/blond/enb-stylus) [![Coverage Status](https://img.shields.io/coveralls/enb-make/enb-stylus.svg?style=flat)](https://coveralls.io/r/enb-make/enb-stylus?branch=master) [![Dependency Status](http://img.shields.io/david/enb-make/enb-stylus.svg?style=flat)](https://david-dm.org/enb-make/enb-stylus)\n \n-Поддержка Stylus для ENB. Пакет содержит технологии:\n- * `enb-stylus/techs/stylus`\n+Пакет предоставляет [ENB](https://ru.bem.info/tools/bem/enb-bem/)-технологию для сборки CSS- и Stylus-файлов в проектах, построенных по [методологии БЭМ](https://ru.bem.info/method/).\n \n-Установка:\n-----------\n+Принципы работы технологии и ее API описаны в документе [API технологии](api.ru.md).\n \n+**Совместимость:** технология пакета `enb-stylus` поддерживает версию [CSS-препроцессора Stylus](https://github.com/stylus/stylus) `0.52.0`.\n+\n+## Работа технологии\n+\n+В БЭМ-методологии стили к каждому блоку хранятся в отдельных файлах в директориях блоков.\n+\n+ENB-технология `stylus` позволяет писать код как в синтаксисе Stylus, так и на чистом CSS. Для компиляции Stylus-кода в CSS используется CSS-препроцессор [Stylus](https://github.com/stylus/stylus).\n+\n+В результате сборки вы получите CSS-файл. Для обработки итогового CSS используется CSS-построцессор [postcss](https://github.com/postcss/postcss).\n+\n+## Особенности работы пакета\n+\n+### Совместное использование Stylus и CSS\n+\n+В проекте допускается совместное использование `.css` и `.styl` файлов. Однако в рамках одного блока не могут одновременно использоваться обе технологии. Если стили блока реализованы и в CSS, и в Stylus, будет использоваться файл с расширением `.styl`.","path":"README.md","position":26,"original_position":26,"commit_id":"ede5e9146b37f80dccf27abb1a43596ee1fc8146","original_commit_id":"ede5e9146b37f80dccf27abb1a43596ee1fc8146","user":{"login":"innabelaya","id":6286656,"avatar_url":"https://avatars.githubusercontent.com/u/6286656?v=3","gravatar_id":"","url":"https://api.github.com/users/innabelaya","html_url":"https://github.com/innabelaya","followers_url":"https://api.github.com/users/innabelaya/followers","following_url":"https://api.github.com/users/innabelaya/following{/other_user}","gists_url":"https://api.github.com/users/innabelaya/gists{/gist_id}","starred_url":"https://api.github.com/users/innabelaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innabelaya/subscriptions","organizations_url":"https://api.github.com/users/innabelaya/orgs","repos_url":"https://api.github.com/users/innabelaya/repos","events_url":"https://api.github.com/users/innabelaya/events{/privacy}","received_events_url":"https://api.github.com/users/innabelaya/received_events","type":"User","site_admin":false},"body":"`.css`- и `.styl`-файлов\r\nОднако в рамках одного блока не могут одновременно использоваться обе технологии. —> Однако в рамках одного блока обе технологии не могут использоваться одновременно.","created_at":"2015-07-31T13:44:15Z","updated_at":"2015-07-31T13:44:15Z","html_url":"https://github.com/enb-make/enb-stylus/pull/99#discussion_r35974061","pull_request_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/comments/35974061"},"html":{"href":"https://github.com/enb-make/enb-stylus/pull/99#discussion_r35974061"},"pull_request":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99","id":41206665,"html_url":"https://github.com/enb-make/enb-stylus/pull/99","diff_url":"https://github.com/enb-make/enb-stylus/pull/99.diff","patch_url":"https://github.com/enb-make/enb-stylus/pull/99.patch","issue_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/99","number":99,"state":"open","locked":false,"title":"Add docs to stylus tech","user":{"login":"tavriaforever","id":975906,"avatar_url":"https://avatars.githubusercontent.com/u/975906?v=3","gravatar_id":"","url":"https://api.github.com/users/tavriaforever","html_url":"https://github.com/tavriaforever","followers_url":"https://api.github.com/users/tavriaforever/followers","following_url":"https://api.github.com/users/tavriaforever/following{/other_user}","gists_url":"https://api.github.com/users/tavriaforever/gists{/gist_id}","starred_url":"https://api.github.com/users/tavriaforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavriaforever/subscriptions","organizations_url":"https://api.github.com/users/tavriaforever/orgs","repos_url":"https://api.github.com/users/tavriaforever/repos","events_url":"https://api.github.com/users/tavriaforever/events{/privacy}","received_events_url":"https://api.github.com/users/tavriaforever/received_events","type":"User","site_admin":false},"body":"Resolved #62 \r\n//cc @blond @sipayRT  ","created_at":"2015-07-30T07:52:15Z","updated_at":"2015-07-31T13:44:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76eb8d3031002ac4b3c978a010bd4ea899ea1f3d","assignee":{"login":"tavriaforever","id":975906,"avatar_url":"https://avatars.githubusercontent.com/u/975906?v=3","gravatar_id":"","url":"https://api.github.com/users/tavriaforever","html_url":"https://github.com/tavriaforever","followers_url":"https://api.github.com/users/tavriaforever/followers","following_url":"https://api.github.com/users/tavriaforever/following{/other_user}","gists_url":"https://api.github.com/users/tavriaforever/gists{/gist_id}","starred_url":"https://api.github.com/users/tavriaforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavriaforever/subscriptions","organizations_url":"https://api.github.com/users/tavriaforever/orgs","repos_url":"https://api.github.com/users/tavriaforever/repos","events_url":"https://api.github.com/users/tavriaforever/events{/privacy}","received_events_url":"https://api.github.com/users/tavriaforever/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99/commits","review_comments_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99/comments","review_comment_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/99/comments","statuses_url":"https://api.github.com/repos/enb-make/enb-stylus/statuses/ede5e9146b37f80dccf27abb1a43596ee1fc8146","head":{"label":"enb-make:issue-62","ref":"issue-62","sha":"ede5e9146b37f80dccf27abb1a43596ee1fc8146","user":{"login":"enb-make","id":4427117,"avatar_url":"https://avatars.githubusercontent.com/u/4427117?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-make","html_url":"https://github.com/enb-make","followers_url":"https://api.github.com/users/enb-make/followers","following_url":"https://api.github.com/users/enb-make/following{/other_user}","gists_url":"https://api.github.com/users/enb-make/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-make/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-make/subscriptions","organizations_url":"https://api.github.com/users/enb-make/orgs","repos_url":"https://api.github.com/users/enb-make/repos","events_url":"https://api.github.com/users/enb-make/events{/privacy}","received_events_url":"https://api.github.com/users/enb-make/received_events","type":"Organization","site_admin":false},"repo":{"id":15227198,"name":"enb-stylus","full_name":"enb-make/enb-stylus","owner":{"login":"enb-make","id":4427117,"avatar_url":"https://avatars.githubusercontent.com/u/4427117?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-make","html_url":"https://github.com/enb-make","followers_url":"https://api.github.com/users/enb-make/followers","following_url":"https://api.github.com/users/enb-make/following{/other_user}","gists_url":"https://api.github.com/users/enb-make/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-make/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-make/subscriptions","organizations_url":"https://api.github.com/users/enb-make/orgs","repos_url":"https://api.github.com/users/enb-make/repos","events_url":"https://api.github.com/users/enb-make/events{/privacy}","received_events_url":"https://api.github.com/users/enb-make/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb-make/enb-stylus","description":"Stylus related techs","fork":false,"url":"https://api.github.com/repos/enb-make/enb-stylus","forks_url":"https://api.github.com/repos/enb-make/enb-stylus/forks","keys_url":"https://api.github.com/repos/enb-make/enb-stylus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-make/enb-stylus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-make/enb-stylus/teams","hooks_url":"https://api.github.com/repos/enb-make/enb-stylus/hooks","issue_events_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/events{/number}","events_url":"https://api.github.com/repos/enb-make/enb-stylus/events","assignees_url":"https://api.github.com/repos/enb-make/enb-stylus/assignees{/user}","branches_url":"https://api.github.com/repos/enb-make/enb-stylus/branches{/branch}","tags_url":"https://api.github.com/repos/enb-make/enb-stylus/tags","blobs_url":"https://api.github.com/repos/enb-make/enb-stylus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-make/enb-stylus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-make/enb-stylus/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-make/enb-stylus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-make/enb-stylus/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-make/enb-stylus/languages","stargazers_url":"https://api.github.com/repos/enb-make/enb-stylus/stargazers","contributors_url":"https://api.github.com/repos/enb-make/enb-stylus/contributors","subscribers_url":"https://api.github.com/repos/enb-make/enb-stylus/subscribers","subscription_url":"https://api.github.com/repos/enb-make/enb-stylus/subscription","commits_url":"https://api.github.com/repos/enb-make/enb-stylus/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-make/enb-stylus/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-make/enb-stylus/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-make/enb-stylus/contents/{+path}","compare_url":"https://api.github.com/repos/enb-make/enb-stylus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-make/enb-stylus/merges","archive_url":"https://api.github.com/repos/enb-make/enb-stylus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-make/enb-stylus/downloads","issues_url":"https://api.github.com/repos/enb-make/enb-stylus/issues{/number}","pulls_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-make/enb-stylus/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-make/enb-stylus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-make/enb-stylus/labels{/name}","releases_url":"https://api.github.com/repos/enb-make/enb-stylus/releases{/id}","created_at":"2013-12-16T14:00:07Z","updated_at":"2015-07-30T17:03:12Z","pushed_at":"2015-07-31T13:36:39Z","git_url":"git://github.com/enb-make/enb-stylus.git","ssh_url":"git@github.com:enb-make/enb-stylus.git","clone_url":"https://github.com/enb-make/enb-stylus.git","svn_url":"https://github.com/enb-make/enb-stylus","homepage":null,"size":752,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":8,"forks":12,"open_issues":8,"watchers":10,"default_branch":"master"}},"base":{"label":"enb-make:master","ref":"master","sha":"c9a223dada4cba14b22682fbd4b880ba0dd34a2c","user":{"login":"enb-make","id":4427117,"avatar_url":"https://avatars.githubusercontent.com/u/4427117?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-make","html_url":"https://github.com/enb-make","followers_url":"https://api.github.com/users/enb-make/followers","following_url":"https://api.github.com/users/enb-make/following{/other_user}","gists_url":"https://api.github.com/users/enb-make/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-make/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-make/subscriptions","organizations_url":"https://api.github.com/users/enb-make/orgs","repos_url":"https://api.github.com/users/enb-make/repos","events_url":"https://api.github.com/users/enb-make/events{/privacy}","received_events_url":"https://api.github.com/users/enb-make/received_events","type":"Organization","site_admin":false},"repo":{"id":15227198,"name":"enb-stylus","full_name":"enb-make/enb-stylus","owner":{"login":"enb-make","id":4427117,"avatar_url":"https://avatars.githubusercontent.com/u/4427117?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-make","html_url":"https://github.com/enb-make","followers_url":"https://api.github.com/users/enb-make/followers","following_url":"https://api.github.com/users/enb-make/following{/other_user}","gists_url":"https://api.github.com/users/enb-make/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-make/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-make/subscriptions","organizations_url":"https://api.github.com/users/enb-make/orgs","repos_url":"https://api.github.com/users/enb-make/repos","events_url":"https://api.github.com/users/enb-make/events{/privacy}","received_events_url":"https://api.github.com/users/enb-make/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb-make/enb-stylus","description":"Stylus related techs","fork":false,"url":"https://api.github.com/repos/enb-make/enb-stylus","forks_url":"https://api.github.com/repos/enb-make/enb-stylus/forks","keys_url":"https://api.github.com/repos/enb-make/enb-stylus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-make/enb-stylus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-make/enb-stylus/teams","hooks_url":"https://api.github.com/repos/enb-make/enb-stylus/hooks","issue_events_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/events{/number}","events_url":"https://api.github.com/repos/enb-make/enb-stylus/events","assignees_url":"https://api.github.com/repos/enb-make/enb-stylus/assignees{/user}","branches_url":"https://api.github.com/repos/enb-make/enb-stylus/branches{/branch}","tags_url":"https://api.github.com/repos/enb-make/enb-stylus/tags","blobs_url":"https://api.github.com/repos/enb-make/enb-stylus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-make/enb-stylus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-make/enb-stylus/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-make/enb-stylus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-make/enb-stylus/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-make/enb-stylus/languages","stargazers_url":"https://api.github.com/repos/enb-make/enb-stylus/stargazers","contributors_url":"https://api.github.com/repos/enb-make/enb-stylus/contributors","subscribers_url":"https://api.github.com/repos/enb-make/enb-stylus/subscribers","subscription_url":"https://api.github.com/repos/enb-make/enb-stylus/subscription","commits_url":"https://api.github.com/repos/enb-make/enb-stylus/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-make/enb-stylus/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-make/enb-stylus/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-make/enb-stylus/contents/{+path}","compare_url":"https://api.github.com/repos/enb-make/enb-stylus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-make/enb-stylus/merges","archive_url":"https://api.github.com/repos/enb-make/enb-stylus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-make/enb-stylus/downloads","issues_url":"https://api.github.com/repos/enb-make/enb-stylus/issues{/number}","pulls_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-make/enb-stylus/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-make/enb-stylus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-make/enb-stylus/labels{/name}","releases_url":"https://api.github.com/repos/enb-make/enb-stylus/releases{/id}","created_at":"2013-12-16T14:00:07Z","updated_at":"2015-07-30T17:03:12Z","pushed_at":"2015-07-31T13:36:39Z","git_url":"git://github.com/enb-make/enb-stylus.git","ssh_url":"git@github.com:enb-make/enb-stylus.git","clone_url":"https://github.com/enb-make/enb-stylus.git","svn_url":"https://github.com/enb-make/enb-stylus","homepage":null,"size":752,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":8,"forks":12,"open_issues":8,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99"},"html":{"href":"https://github.com/enb-make/enb-stylus/pull/99"},"issue":{"href":"https://api.github.com/repos/enb-make/enb-stylus/issues/99"},"comments":{"href":"https://api.github.com/repos/enb-make/enb-stylus/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/enb-make/enb-stylus/statuses/ede5e9146b37f80dccf27abb1a43596ee1fc8146"}}}}