{"action":"created","comment":{"url":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/comments/29797374","id":29797374,"diff_hunk":"@@ -0,0 +1,42 @@\n+'use strict';\n+\n+var path = require('path'),\n+  merge = require('lodash.merge'),\n+  menuLister = require('object-to-list'),\n+  createPatternObject = require('../lib/create-pattern-object');\n+\n+\n+/**\n+ * Gulp task to watch raw pattern folders and convert to browser-ready html/css/js\n+ * @param {Object} [options] custom options\n+ * @param {Array,String} options.localPatternFiles  project-relative path to sets of un-compiled patterns\n+ * @param {Object}  options.patternImporterOptions  options needed for the pattern-importer\n+ * @requires NPM:Gulp\n+ * @requires NPM:Gulp-Watch\n+ * @requires NPM:lodash\n+ * @requires NPM:Pattern-Importer\n+ */\n+module.exports = function (gulp, projectOptions) {\n+\n+  /* gulp task to watch our designated pattern directories */\n+  gulp.task('patterns-menu', function() {\n+\n+  \tvar options = {","path":"gulp/patterns-menu.js","position":24,"original_position":24,"commit_id":"f663a8865f05d91be2d5487dbd5bab9a6330ddbb","original_commit_id":"f663a8865f05d91be2d5487dbd5bab9a6330ddbb","user":{"login":"sergesemashko","id":1267571,"avatar_url":"https://avatars.githubusercontent.com/u/1267571?v=3","gravatar_id":"","url":"https://api.github.com/users/sergesemashko","html_url":"https://github.com/sergesemashko","followers_url":"https://api.github.com/users/sergesemashko/followers","following_url":"https://api.github.com/users/sergesemashko/following{/other_user}","gists_url":"https://api.github.com/users/sergesemashko/gists{/gist_id}","starred_url":"https://api.github.com/users/sergesemashko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergesemashko/subscriptions","organizations_url":"https://api.github.com/users/sergesemashko/orgs","repos_url":"https://api.github.com/users/sergesemashko/repos","events_url":"https://api.github.com/users/sergesemashko/events{/privacy}","received_events_url":"https://api.github.com/users/sergesemashko/received_events","type":"User","site_admin":false},"body":"nit-picky: \r\ncorrect the indents: 1tab = 2 spaces","created_at":"2015-05-06T20:16:50Z","updated_at":"2015-05-06T20:16:50Z","html_url":"https://github.com/pattern-library/pattern-presenter/pull/5#discussion_r29797374","pull_request_url":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/comments/29797374"},"html":{"href":"https://github.com/pattern-library/pattern-presenter/pull/5#discussion_r29797374"},"pull_request":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/5","id":34832332,"html_url":"https://github.com/pattern-library/pattern-presenter/pull/5","diff_url":"https://github.com/pattern-library/pattern-presenter/pull/5.diff","patch_url":"https://github.com/pattern-library/pattern-presenter/pull/5.patch","issue_url":"https://api.github.com/repos/pattern-library/pattern-presenter/issues/5","number":5,"state":"open","locked":false,"title":"Integrate menu","user":{"login":"scottnath","id":216931,"avatar_url":"https://avatars.githubusercontent.com/u/216931?v=3","gravatar_id":"","url":"https://api.github.com/users/scottnath","html_url":"https://github.com/scottnath","followers_url":"https://api.github.com/users/scottnath/followers","following_url":"https://api.github.com/users/scottnath/following{/other_user}","gists_url":"https://api.github.com/users/scottnath/gists{/gist_id}","starred_url":"https://api.github.com/users/scottnath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottnath/subscriptions","organizations_url":"https://api.github.com/users/scottnath/orgs","repos_url":"https://api.github.com/users/scottnath/repos","events_url":"https://api.github.com/users/scottnath/events{/privacy}","received_events_url":"https://api.github.com/users/scottnath/received_events","type":"User","site_admin":false},"body":"@sergesemashko @beynya can you check?\r\n\r\n@rebmullin I've created a gulp task and integrated your menu-creator with the object-creator :)","created_at":"2015-05-06T16:03:15Z","updated_at":"2015-05-06T20:16:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a10a8f76fa26de76dffe7ce107113c07852e001","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/5/commits","review_comments_url":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/5/comments","review_comment_url":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pattern-library/pattern-presenter/issues/5/comments","statuses_url":"https://api.github.com/repos/pattern-library/pattern-presenter/statuses/f663a8865f05d91be2d5487dbd5bab9a6330ddbb","head":{"label":"scottnath:integrate-menu","ref":"integrate-menu","sha":"f663a8865f05d91be2d5487dbd5bab9a6330ddbb","user":{"login":"scottnath","id":216931,"avatar_url":"https://avatars.githubusercontent.com/u/216931?v=3","gravatar_id":"","url":"https://api.github.com/users/scottnath","html_url":"https://github.com/scottnath","followers_url":"https://api.github.com/users/scottnath/followers","following_url":"https://api.github.com/users/scottnath/following{/other_user}","gists_url":"https://api.github.com/users/scottnath/gists{/gist_id}","starred_url":"https://api.github.com/users/scottnath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottnath/subscriptions","organizations_url":"https://api.github.com/users/scottnath/orgs","repos_url":"https://api.github.com/users/scottnath/repos","events_url":"https://api.github.com/users/scottnath/events{/privacy}","received_events_url":"https://api.github.com/users/scottnath/received_events","type":"User","site_admin":false},"repo":{"id":34677905,"name":"pattern-presenter","full_name":"scottnath/pattern-presenter","owner":{"login":"scottnath","id":216931,"avatar_url":"https://avatars.githubusercontent.com/u/216931?v=3","gravatar_id":"","url":"https://api.github.com/users/scottnath","html_url":"https://github.com/scottnath","followers_url":"https://api.github.com/users/scottnath/followers","following_url":"https://api.github.com/users/scottnath/following{/other_user}","gists_url":"https://api.github.com/users/scottnath/gists{/gist_id}","starred_url":"https://api.github.com/users/scottnath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottnath/subscriptions","organizations_url":"https://api.github.com/users/scottnath/orgs","repos_url":"https://api.github.com/users/scottnath/repos","events_url":"https://api.github.com/users/scottnath/events{/privacy}","received_events_url":"https://api.github.com/users/scottnath/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scottnath/pattern-presenter","description":"presents the patterns in a page for styling","fork":true,"url":"https://api.github.com/repos/scottnath/pattern-presenter","forks_url":"https://api.github.com/repos/scottnath/pattern-presenter/forks","keys_url":"https://api.github.com/repos/scottnath/pattern-presenter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scottnath/pattern-presenter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scottnath/pattern-presenter/teams","hooks_url":"https://api.github.com/repos/scottnath/pattern-presenter/hooks","issue_events_url":"https://api.github.com/repos/scottnath/pattern-presenter/issues/events{/number}","events_url":"https://api.github.com/repos/scottnath/pattern-presenter/events","assignees_url":"https://api.github.com/repos/scottnath/pattern-presenter/assignees{/user}","branches_url":"https://api.github.com/repos/scottnath/pattern-presenter/branches{/branch}","tags_url":"https://api.github.com/repos/scottnath/pattern-presenter/tags","blobs_url":"https://api.github.com/repos/scottnath/pattern-presenter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scottnath/pattern-presenter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scottnath/pattern-presenter/git/refs{/sha}","trees_url":"https://api.github.com/repos/scottnath/pattern-presenter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scottnath/pattern-presenter/statuses/{sha}","languages_url":"https://api.github.com/repos/scottnath/pattern-presenter/languages","stargazers_url":"https://api.github.com/repos/scottnath/pattern-presenter/stargazers","contributors_url":"https://api.github.com/repos/scottnath/pattern-presenter/contributors","subscribers_url":"https://api.github.com/repos/scottnath/pattern-presenter/subscribers","subscription_url":"https://api.github.com/repos/scottnath/pattern-presenter/subscription","commits_url":"https://api.github.com/repos/scottnath/pattern-presenter/commits{/sha}","git_commits_url":"https://api.github.com/repos/scottnath/pattern-presenter/git/commits{/sha}","comments_url":"https://api.github.com/repos/scottnath/pattern-presenter/comments{/number}","issue_comment_url":"https://api.github.com/repos/scottnath/pattern-presenter/issues/comments{/number}","contents_url":"https://api.github.com/repos/scottnath/pattern-presenter/contents/{+path}","compare_url":"https://api.github.com/repos/scottnath/pattern-presenter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scottnath/pattern-presenter/merges","archive_url":"https://api.github.com/repos/scottnath/pattern-presenter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scottnath/pattern-presenter/downloads","issues_url":"https://api.github.com/repos/scottnath/pattern-presenter/issues{/number}","pulls_url":"https://api.github.com/repos/scottnath/pattern-presenter/pulls{/number}","milestones_url":"https://api.github.com/repos/scottnath/pattern-presenter/milestones{/number}","notifications_url":"https://api.github.com/repos/scottnath/pattern-presenter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scottnath/pattern-presenter/labels{/name}","releases_url":"https://api.github.com/repos/scottnath/pattern-presenter/releases{/id}","created_at":"2015-04-27T16:28:58Z","updated_at":"2015-05-05T18:19:39Z","pushed_at":"2015-05-06T16:02:03Z","git_url":"git://github.com/scottnath/pattern-presenter.git","ssh_url":"git@github.com:scottnath/pattern-presenter.git","clone_url":"https://github.com/scottnath/pattern-presenter.git","svn_url":"https://github.com/scottnath/pattern-presenter","homepage":null,"size":121,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pattern-library:master","ref":"master","sha":"2d8aceb7f1885551d6f28a2ee724d3f117b249bb","user":{"login":"pattern-library","id":11633856,"avatar_url":"https://avatars.githubusercontent.com/u/11633856?v=3","gravatar_id":"","url":"https://api.github.com/users/pattern-library","html_url":"https://github.com/pattern-library","followers_url":"https://api.github.com/users/pattern-library/followers","following_url":"https://api.github.com/users/pattern-library/following{/other_user}","gists_url":"https://api.github.com/users/pattern-library/gists{/gist_id}","starred_url":"https://api.github.com/users/pattern-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattern-library/subscriptions","organizations_url":"https://api.github.com/users/pattern-library/orgs","repos_url":"https://api.github.com/users/pattern-library/repos","events_url":"https://api.github.com/users/pattern-library/events{/privacy}","received_events_url":"https://api.github.com/users/pattern-library/received_events","type":"Organization","site_admin":false},"repo":{"id":34480086,"name":"pattern-presenter","full_name":"pattern-library/pattern-presenter","owner":{"login":"pattern-library","id":11633856,"avatar_url":"https://avatars.githubusercontent.com/u/11633856?v=3","gravatar_id":"","url":"https://api.github.com/users/pattern-library","html_url":"https://github.com/pattern-library","followers_url":"https://api.github.com/users/pattern-library/followers","following_url":"https://api.github.com/users/pattern-library/following{/other_user}","gists_url":"https://api.github.com/users/pattern-library/gists{/gist_id}","starred_url":"https://api.github.com/users/pattern-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattern-library/subscriptions","organizations_url":"https://api.github.com/users/pattern-library/orgs","repos_url":"https://api.github.com/users/pattern-library/repos","events_url":"https://api.github.com/users/pattern-library/events{/privacy}","received_events_url":"https://api.github.com/users/pattern-library/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pattern-library/pattern-presenter","description":"presents the patterns in a page for styling","fork":false,"url":"https://api.github.com/repos/pattern-library/pattern-presenter","forks_url":"https://api.github.com/repos/pattern-library/pattern-presenter/forks","keys_url":"https://api.github.com/repos/pattern-library/pattern-presenter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pattern-library/pattern-presenter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pattern-library/pattern-presenter/teams","hooks_url":"https://api.github.com/repos/pattern-library/pattern-presenter/hooks","issue_events_url":"https://api.github.com/repos/pattern-library/pattern-presenter/issues/events{/number}","events_url":"https://api.github.com/repos/pattern-library/pattern-presenter/events","assignees_url":"https://api.github.com/repos/pattern-library/pattern-presenter/assignees{/user}","branches_url":"https://api.github.com/repos/pattern-library/pattern-presenter/branches{/branch}","tags_url":"https://api.github.com/repos/pattern-library/pattern-presenter/tags","blobs_url":"https://api.github.com/repos/pattern-library/pattern-presenter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pattern-library/pattern-presenter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pattern-library/pattern-presenter/git/refs{/sha}","trees_url":"https://api.github.com/repos/pattern-library/pattern-presenter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pattern-library/pattern-presenter/statuses/{sha}","languages_url":"https://api.github.com/repos/pattern-library/pattern-presenter/languages","stargazers_url":"https://api.github.com/repos/pattern-library/pattern-presenter/stargazers","contributors_url":"https://api.github.com/repos/pattern-library/pattern-presenter/contributors","subscribers_url":"https://api.github.com/repos/pattern-library/pattern-presenter/subscribers","subscription_url":"https://api.github.com/repos/pattern-library/pattern-presenter/subscription","commits_url":"https://api.github.com/repos/pattern-library/pattern-presenter/commits{/sha}","git_commits_url":"https://api.github.com/repos/pattern-library/pattern-presenter/git/commits{/sha}","comments_url":"https://api.github.com/repos/pattern-library/pattern-presenter/comments{/number}","issue_comment_url":"https://api.github.com/repos/pattern-library/pattern-presenter/issues/comments{/number}","contents_url":"https://api.github.com/repos/pattern-library/pattern-presenter/contents/{+path}","compare_url":"https://api.github.com/repos/pattern-library/pattern-presenter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pattern-library/pattern-presenter/merges","archive_url":"https://api.github.com/repos/pattern-library/pattern-presenter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pattern-library/pattern-presenter/downloads","issues_url":"https://api.github.com/repos/pattern-library/pattern-presenter/issues{/number}","pulls_url":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls{/number}","milestones_url":"https://api.github.com/repos/pattern-library/pattern-presenter/milestones{/number}","notifications_url":"https://api.github.com/repos/pattern-library/pattern-presenter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pattern-library/pattern-presenter/labels{/name}","releases_url":"https://api.github.com/repos/pattern-library/pattern-presenter/releases{/id}","created_at":"2015-04-23T20:34:57Z","updated_at":"2015-05-04T15:45:36Z","pushed_at":"2015-05-06T16:03:15Z","git_url":"git://github.com/pattern-library/pattern-presenter.git","ssh_url":"git@github.com:pattern-library/pattern-presenter.git","clone_url":"https://github.com/pattern-library/pattern-presenter.git","svn_url":"https://github.com/pattern-library/pattern-presenter","homepage":null,"size":222,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/5"},"html":{"href":"https://github.com/pattern-library/pattern-presenter/pull/5"},"issue":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/issues/5"},"comments":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/pattern-library/pattern-presenter/statuses/f663a8865f05d91be2d5487dbd5bab9a6330ddbb"}}}}