{"action":"created","comment":{"url":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/comments/34335778","id":34335778,"diff_hunk":"@@ -20,5 +20,17 @@ module.exports = require('enb/lib/build-flow').create()\n     .name('browser-js')\n     .target('target', '?.browser.js')\n     .useFileList(['vanilla.js', 'js', 'browser.js'])\n-    .justJoinFilesWithComments()\n+    .defineOption('iife', false)\n+    .justJoinFiles(function (filename, contents) {\n+        var relPath = this.node.relativePath(filename),\n+            iife = this._iife || '';\n+\n+        return [\n+            '/* begin: ' + relPath + ' */\\n',\n+            iife && '(function(){\\n',\n+            contents + '\\n',\n+            iife && '}());\\n',\n+            '/* end: ' + relPath + ' *' + '/'\n+        ].join('');","path":"techs/browser-js.js","position":16,"original_position":16,"commit_id":"f11b19bf015241d4231f29e65de3cb753aa9239d","original_commit_id":"6c78763d1288368befbb2194311a18a78f181f24","user":{"login":"sipayRT","id":1658415,"avatar_url":"https://avatars.githubusercontent.com/u/1658415?v=3","gravatar_id":"","url":"https://api.github.com/users/sipayRT","html_url":"https://github.com/sipayRT","followers_url":"https://api.github.com/users/sipayRT/followers","following_url":"https://api.github.com/users/sipayRT/following{/other_user}","gists_url":"https://api.github.com/users/sipayRT/gists{/gist_id}","starred_url":"https://api.github.com/users/sipayRT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipayRT/subscriptions","organizations_url":"https://api.github.com/users/sipayRT/orgs","repos_url":"https://api.github.com/users/sipayRT/repos","events_url":"https://api.github.com/users/sipayRT/events{/privacy}","received_events_url":"https://api.github.com/users/sipayRT/received_events","type":"User","site_admin":false},"body":"Зачем это все? имхо, пустые строки не стоят столько внимания","created_at":"2015-07-10T08:25:19Z","updated_at":"2015-07-10T08:25:19Z","html_url":"https://github.com/enb-make/enb-diverse-js/pull/27#discussion_r34335778","pull_request_url":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/comments/34335778"},"html":{"href":"https://github.com/enb-make/enb-diverse-js/pull/27#discussion_r34335778"},"pull_request":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/27","id":39489174,"html_url":"https://github.com/enb-make/enb-diverse-js/pull/27","diff_url":"https://github.com/enb-make/enb-diverse-js/pull/27.diff","patch_url":"https://github.com/enb-make/enb-diverse-js/pull/27.patch","issue_url":"https://api.github.com/repos/enb-make/enb-diverse-js/issues/27","number":27,"state":"open","locked":false,"title":"Add and option to wrap merged files to IIFE","user":{"login":"gela-d","id":1333220,"avatar_url":"https://avatars.githubusercontent.com/u/1333220?v=3","gravatar_id":"","url":"https://api.github.com/users/gela-d","html_url":"https://github.com/gela-d","followers_url":"https://api.github.com/users/gela-d/followers","following_url":"https://api.github.com/users/gela-d/following{/other_user}","gists_url":"https://api.github.com/users/gela-d/gists{/gist_id}","starred_url":"https://api.github.com/users/gela-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gela-d/subscriptions","organizations_url":"https://api.github.com/users/gela-d/orgs","repos_url":"https://api.github.com/users/gela-d/repos","events_url":"https://api.github.com/users/gela-d/events{/privacy}","received_events_url":"https://api.github.com/users/gela-d/received_events","type":"User","site_admin":false},"body":"Close #6 ","created_at":"2015-07-08T15:22:17Z","updated_at":"2015-07-10T08:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbecff544d80b63c7db197c83f4fb34da09cd44d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/27/commits","review_comments_url":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/27/comments","review_comment_url":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enb-make/enb-diverse-js/issues/27/comments","statuses_url":"https://api.github.com/repos/enb-make/enb-diverse-js/statuses/f11b19bf015241d4231f29e65de3cb753aa9239d","head":{"label":"enb-make:issues-6","ref":"issues-6","sha":"f11b19bf015241d4231f29e65de3cb753aa9239d","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":15278577,"name":"enb-diverse-js","full_name":"enb-make/enb-diverse-js","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-diverse-js","description":"Diverse js techs: vanilla + browser + node","fork":false,"url":"https://api.github.com/repos/enb-make/enb-diverse-js","forks_url":"https://api.github.com/repos/enb-make/enb-diverse-js/forks","keys_url":"https://api.github.com/repos/enb-make/enb-diverse-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-make/enb-diverse-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-make/enb-diverse-js/teams","hooks_url":"https://api.github.com/repos/enb-make/enb-diverse-js/hooks","issue_events_url":"https://api.github.com/repos/enb-make/enb-diverse-js/issues/events{/number}","events_url":"https://api.github.com/repos/enb-make/enb-diverse-js/events","assignees_url":"https://api.github.com/repos/enb-make/enb-diverse-js/assignees{/user}","branches_url":"https://api.github.com/repos/enb-make/enb-diverse-js/branches{/branch}","tags_url":"https://api.github.com/repos/enb-make/enb-diverse-js/tags","blobs_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-make/enb-diverse-js/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-make/enb-diverse-js/languages","stargazers_url":"https://api.github.com/repos/enb-make/enb-diverse-js/stargazers","contributors_url":"https://api.github.com/repos/enb-make/enb-diverse-js/contributors","subscribers_url":"https://api.github.com/repos/enb-make/enb-diverse-js/subscribers","subscription_url":"https://api.github.com/repos/enb-make/enb-diverse-js/subscription","commits_url":"https://api.github.com/repos/enb-make/enb-diverse-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-make/enb-diverse-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-make/enb-diverse-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-make/enb-diverse-js/contents/{+path}","compare_url":"https://api.github.com/repos/enb-make/enb-diverse-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-make/enb-diverse-js/merges","archive_url":"https://api.github.com/repos/enb-make/enb-diverse-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-make/enb-diverse-js/downloads","issues_url":"https://api.github.com/repos/enb-make/enb-diverse-js/issues{/number}","pulls_url":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-make/enb-diverse-js/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-make/enb-diverse-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-make/enb-diverse-js/labels{/name}","releases_url":"https://api.github.com/repos/enb-make/enb-diverse-js/releases{/id}","created_at":"2013-12-18T09:09:57Z","updated_at":"2015-05-14T10:52:40Z","pushed_at":"2015-07-10T07:57:48Z","git_url":"git://github.com/enb-make/enb-diverse-js.git","ssh_url":"git@github.com:enb-make/enb-diverse-js.git","clone_url":"https://github.com/enb-make/enb-diverse-js.git","svn_url":"https://github.com/enb-make/enb-diverse-js","homepage":null,"size":237,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":4,"default_branch":"master"}},"base":{"label":"enb-make:master","ref":"master","sha":"262f844555b23d203c2b313a06c521a8db6ed8e7","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":15278577,"name":"enb-diverse-js","full_name":"enb-make/enb-diverse-js","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-diverse-js","description":"Diverse js techs: vanilla + browser + node","fork":false,"url":"https://api.github.com/repos/enb-make/enb-diverse-js","forks_url":"https://api.github.com/repos/enb-make/enb-diverse-js/forks","keys_url":"https://api.github.com/repos/enb-make/enb-diverse-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-make/enb-diverse-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-make/enb-diverse-js/teams","hooks_url":"https://api.github.com/repos/enb-make/enb-diverse-js/hooks","issue_events_url":"https://api.github.com/repos/enb-make/enb-diverse-js/issues/events{/number}","events_url":"https://api.github.com/repos/enb-make/enb-diverse-js/events","assignees_url":"https://api.github.com/repos/enb-make/enb-diverse-js/assignees{/user}","branches_url":"https://api.github.com/repos/enb-make/enb-diverse-js/branches{/branch}","tags_url":"https://api.github.com/repos/enb-make/enb-diverse-js/tags","blobs_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-make/enb-diverse-js/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-make/enb-diverse-js/languages","stargazers_url":"https://api.github.com/repos/enb-make/enb-diverse-js/stargazers","contributors_url":"https://api.github.com/repos/enb-make/enb-diverse-js/contributors","subscribers_url":"https://api.github.com/repos/enb-make/enb-diverse-js/subscribers","subscription_url":"https://api.github.com/repos/enb-make/enb-diverse-js/subscription","commits_url":"https://api.github.com/repos/enb-make/enb-diverse-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-make/enb-diverse-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-make/enb-diverse-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-make/enb-diverse-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-make/enb-diverse-js/contents/{+path}","compare_url":"https://api.github.com/repos/enb-make/enb-diverse-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-make/enb-diverse-js/merges","archive_url":"https://api.github.com/repos/enb-make/enb-diverse-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-make/enb-diverse-js/downloads","issues_url":"https://api.github.com/repos/enb-make/enb-diverse-js/issues{/number}","pulls_url":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-make/enb-diverse-js/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-make/enb-diverse-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-make/enb-diverse-js/labels{/name}","releases_url":"https://api.github.com/repos/enb-make/enb-diverse-js/releases{/id}","created_at":"2013-12-18T09:09:57Z","updated_at":"2015-05-14T10:52:40Z","pushed_at":"2015-07-10T07:57:48Z","git_url":"git://github.com/enb-make/enb-diverse-js.git","ssh_url":"git@github.com:enb-make/enb-diverse-js.git","clone_url":"https://github.com/enb-make/enb-diverse-js.git","svn_url":"https://github.com/enb-make/enb-diverse-js","homepage":null,"size":237,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/27"},"html":{"href":"https://github.com/enb-make/enb-diverse-js/pull/27"},"issue":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/issues/27"},"comments":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/enb-make/enb-diverse-js/statuses/f11b19bf015241d4231f29e65de3cb753aa9239d"}}}}