{"action":"created","comment":{"url":"https://api.github.com/repos/bem/bem-mvc/pulls/comments/38764109","id":38764109,"diff_hunk":"@@ -0,0 +1,359 @@\n+'use strict';\n+\n+var chai = require('chai'),\n+    expect = chai.expect,\n+    sinon = require('sinon'),\n+\n+    sinonChai = require(\"sinon-chai\"),","path":"tests/specs/common.blocks/i-model/__field/i-model__field.spec.js","position":7,"original_position":7,"commit_id":"41693bc7b3bf46c710eb8daad36fc64834e4a865","original_commit_id":"41693bc7b3bf46c710eb8daad36fc64834e4a865","user":{"login":"collapsus","id":178553,"avatar_url":"https://avatars.githubusercontent.com/u/178553?v=3","gravatar_id":"","url":"https://api.github.com/users/collapsus","html_url":"https://github.com/collapsus","followers_url":"https://api.github.com/users/collapsus/followers","following_url":"https://api.github.com/users/collapsus/following{/other_user}","gists_url":"https://api.github.com/users/collapsus/gists{/gist_id}","starred_url":"https://api.github.com/users/collapsus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collapsus/subscriptions","organizations_url":"https://api.github.com/users/collapsus/orgs","repos_url":"https://api.github.com/users/collapsus/repos","events_url":"https://api.github.com/users/collapsus/events{/privacy}","received_events_url":"https://api.github.com/users/collapsus/received_events","type":"User","site_admin":false},"body":"двойные кавычки, и зачем эта строка с двух сторон переносами отбита?","created_at":"2015-09-04T15:38:40Z","updated_at":"2015-09-04T15:38:40Z","html_url":"https://github.com/bem/bem-mvc/pull/156#discussion_r38764109","pull_request_url":"https://api.github.com/repos/bem/bem-mvc/pulls/156","_links":{"self":{"href":"https://api.github.com/repos/bem/bem-mvc/pulls/comments/38764109"},"html":{"href":"https://github.com/bem/bem-mvc/pull/156#discussion_r38764109"},"pull_request":{"href":"https://api.github.com/repos/bem/bem-mvc/pulls/156"}}},"pull_request":{"url":"https://api.github.com/repos/bem/bem-mvc/pulls/156","id":43912884,"html_url":"https://github.com/bem/bem-mvc/pull/156","diff_url":"https://github.com/bem/bem-mvc/pull/156.diff","patch_url":"https://github.com/bem/bem-mvc/pull/156.patch","issue_url":"https://api.github.com/repos/bem/bem-mvc/issues/156","number":156,"state":"open","locked":false,"title":"Server side models","user":{"login":"dosyara","id":938947,"avatar_url":"https://avatars.githubusercontent.com/u/938947?v=3","gravatar_id":"","url":"https://api.github.com/users/dosyara","html_url":"https://github.com/dosyara","followers_url":"https://api.github.com/users/dosyara/followers","following_url":"https://api.github.com/users/dosyara/following{/other_user}","gists_url":"https://api.github.com/users/dosyara/gists{/gist_id}","starred_url":"https://api.github.com/users/dosyara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dosyara/subscriptions","organizations_url":"https://api.github.com/users/dosyara/orgs","repos_url":"https://api.github.com/users/dosyara/repos","events_url":"https://api.github.com/users/dosyara/events{/privacy}","received_events_url":"https://api.github.com/users/dosyara/received_events","type":"User","site_admin":false},"body":"Возможность использовать модели в серверных шаблонах.\r\nДля подключения моделей использует отдельный бандл: `unirevsal`.\r\nВсе внешие зависимости перенесены внутрь элементов `utils` и `server-utils`.\r\nДобавлены скрипты `lint` и `test`.\r\nПримерный скилет тесты на модели реализован в `tests/**/*.spec.js`","created_at":"2015-09-01T18:56:48Z","updated_at":"2015-09-04T15:38:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f54804ef88bfdb84425bd6f9d45f795792d883fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bem/bem-mvc/pulls/156/commits","review_comments_url":"https://api.github.com/repos/bem/bem-mvc/pulls/156/comments","review_comment_url":"https://api.github.com/repos/bem/bem-mvc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bem/bem-mvc/issues/156/comments","statuses_url":"https://api.github.com/repos/bem/bem-mvc/statuses/41693bc7b3bf46c710eb8daad36fc64834e4a865","head":{"label":"bem:server-side-models","ref":"server-side-models","sha":"41693bc7b3bf46c710eb8daad36fc64834e4a865","user":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"repo":{"id":11251298,"name":"bem-mvc","full_name":"bem/bem-mvc","owner":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem/bem-mvc","description":"Yet another MVC for i-bem","fork":false,"url":"https://api.github.com/repos/bem/bem-mvc","forks_url":"https://api.github.com/repos/bem/bem-mvc/forks","keys_url":"https://api.github.com/repos/bem/bem-mvc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem/bem-mvc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem/bem-mvc/teams","hooks_url":"https://api.github.com/repos/bem/bem-mvc/hooks","issue_events_url":"https://api.github.com/repos/bem/bem-mvc/issues/events{/number}","events_url":"https://api.github.com/repos/bem/bem-mvc/events","assignees_url":"https://api.github.com/repos/bem/bem-mvc/assignees{/user}","branches_url":"https://api.github.com/repos/bem/bem-mvc/branches{/branch}","tags_url":"https://api.github.com/repos/bem/bem-mvc/tags","blobs_url":"https://api.github.com/repos/bem/bem-mvc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem/bem-mvc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem/bem-mvc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem/bem-mvc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem/bem-mvc/statuses/{sha}","languages_url":"https://api.github.com/repos/bem/bem-mvc/languages","stargazers_url":"https://api.github.com/repos/bem/bem-mvc/stargazers","contributors_url":"https://api.github.com/repos/bem/bem-mvc/contributors","subscribers_url":"https://api.github.com/repos/bem/bem-mvc/subscribers","subscription_url":"https://api.github.com/repos/bem/bem-mvc/subscription","commits_url":"https://api.github.com/repos/bem/bem-mvc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem/bem-mvc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem/bem-mvc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem/bem-mvc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem/bem-mvc/contents/{+path}","compare_url":"https://api.github.com/repos/bem/bem-mvc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem/bem-mvc/merges","archive_url":"https://api.github.com/repos/bem/bem-mvc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem/bem-mvc/downloads","issues_url":"https://api.github.com/repos/bem/bem-mvc/issues{/number}","pulls_url":"https://api.github.com/repos/bem/bem-mvc/pulls{/number}","milestones_url":"https://api.github.com/repos/bem/bem-mvc/milestones{/number}","notifications_url":"https://api.github.com/repos/bem/bem-mvc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem/bem-mvc/labels{/name}","releases_url":"https://api.github.com/repos/bem/bem-mvc/releases{/id}","created_at":"2013-07-08T10:01:51Z","updated_at":"2015-07-30T17:13:52Z","pushed_at":"2015-09-03T14:01:53Z","git_url":"git://github.com/bem/bem-mvc.git","ssh_url":"git@github.com:bem/bem-mvc.git","clone_url":"https://github.com/bem/bem-mvc.git","svn_url":"https://github.com/bem/bem-mvc","homepage":null,"size":1542,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":26,"forks":26,"open_issues":26,"watchers":29,"default_branch":"master"}},"base":{"label":"bem:master","ref":"master","sha":"12b266c00e6bb4bef51a822ba088c330ea4eae38","user":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"repo":{"id":11251298,"name":"bem-mvc","full_name":"bem/bem-mvc","owner":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem/bem-mvc","description":"Yet another MVC for i-bem","fork":false,"url":"https://api.github.com/repos/bem/bem-mvc","forks_url":"https://api.github.com/repos/bem/bem-mvc/forks","keys_url":"https://api.github.com/repos/bem/bem-mvc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem/bem-mvc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem/bem-mvc/teams","hooks_url":"https://api.github.com/repos/bem/bem-mvc/hooks","issue_events_url":"https://api.github.com/repos/bem/bem-mvc/issues/events{/number}","events_url":"https://api.github.com/repos/bem/bem-mvc/events","assignees_url":"https://api.github.com/repos/bem/bem-mvc/assignees{/user}","branches_url":"https://api.github.com/repos/bem/bem-mvc/branches{/branch}","tags_url":"https://api.github.com/repos/bem/bem-mvc/tags","blobs_url":"https://api.github.com/repos/bem/bem-mvc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem/bem-mvc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem/bem-mvc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem/bem-mvc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem/bem-mvc/statuses/{sha}","languages_url":"https://api.github.com/repos/bem/bem-mvc/languages","stargazers_url":"https://api.github.com/repos/bem/bem-mvc/stargazers","contributors_url":"https://api.github.com/repos/bem/bem-mvc/contributors","subscribers_url":"https://api.github.com/repos/bem/bem-mvc/subscribers","subscription_url":"https://api.github.com/repos/bem/bem-mvc/subscription","commits_url":"https://api.github.com/repos/bem/bem-mvc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem/bem-mvc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem/bem-mvc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem/bem-mvc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem/bem-mvc/contents/{+path}","compare_url":"https://api.github.com/repos/bem/bem-mvc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem/bem-mvc/merges","archive_url":"https://api.github.com/repos/bem/bem-mvc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem/bem-mvc/downloads","issues_url":"https://api.github.com/repos/bem/bem-mvc/issues{/number}","pulls_url":"https://api.github.com/repos/bem/bem-mvc/pulls{/number}","milestones_url":"https://api.github.com/repos/bem/bem-mvc/milestones{/number}","notifications_url":"https://api.github.com/repos/bem/bem-mvc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem/bem-mvc/labels{/name}","releases_url":"https://api.github.com/repos/bem/bem-mvc/releases{/id}","created_at":"2013-07-08T10:01:51Z","updated_at":"2015-07-30T17:13:52Z","pushed_at":"2015-09-03T14:01:53Z","git_url":"git://github.com/bem/bem-mvc.git","ssh_url":"git@github.com:bem/bem-mvc.git","clone_url":"https://github.com/bem/bem-mvc.git","svn_url":"https://github.com/bem/bem-mvc","homepage":null,"size":1542,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":26,"forks":26,"open_issues":26,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bem/bem-mvc/pulls/156"},"html":{"href":"https://github.com/bem/bem-mvc/pull/156"},"issue":{"href":"https://api.github.com/repos/bem/bem-mvc/issues/156"},"comments":{"href":"https://api.github.com/repos/bem/bem-mvc/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/bem/bem-mvc/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/bem/bem-mvc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bem/bem-mvc/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/bem/bem-mvc/statuses/41693bc7b3bf46c710eb8daad36fc64834e4a865"}}}}