{"action":"opened","number":69,"pull_request":{"url":"https://api.github.com/repos/linnovate/meanio/pulls/69","id":42072863,"html_url":"https://github.com/linnovate/meanio/pull/69","diff_url":"https://github.com/linnovate/meanio/pull/69.diff","patch_url":"https://github.com/linnovate/meanio/pull/69.patch","issue_url":"https://api.github.com/repos/linnovate/meanio/issues/69","number":69,"state":"open","locked":false,"title":"Allows propagation of a weight value, to be used in implementation","user":{"login":"rjVapes","id":1992658,"avatar_url":"https://avatars.githubusercontent.com/u/1992658?v=3","gravatar_id":"","url":"https://api.github.com/users/rjVapes","html_url":"https://github.com/rjVapes","followers_url":"https://api.github.com/users/rjVapes/followers","following_url":"https://api.github.com/users/rjVapes/following{/other_user}","gists_url":"https://api.github.com/users/rjVapes/gists{/gist_id}","starred_url":"https://api.github.com/users/rjVapes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjVapes/subscriptions","organizations_url":"https://api.github.com/users/rjVapes/orgs","repos_url":"https://api.github.com/users/rjVapes/repos","events_url":"https://api.github.com/users/rjVapes/events{/privacy}","received_events_url":"https://api.github.com/users/rjVapes/received_events","type":"User","site_admin":false},"body":"This just allows users to add a 'weight' value.  It isn't handled internally currently, just passed back to the app, but allows the controllers to use it, like:\r\n```\r\n    // Query menus added by modules. Only returns menus that user is allowed to see.\r\n    function queryMenu(name, defaultMenu) {\r\n      Menus.query({\r\n        name: name,\r\n        defaultMenu: defaultMenu\r\n      }, function(menu) {\r\n        menu.sort(function(a,b){return a.weight - b.weight});\r\n        vm.menus[name] = menu;\r\n      });\r\n    }\r\n```","created_at":"2015-08-10T22:16:42Z","updated_at":"2015-08-10T22:16:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/linnovate/meanio/pulls/69/commits","review_comments_url":"https://api.github.com/repos/linnovate/meanio/pulls/69/comments","review_comment_url":"https://api.github.com/repos/linnovate/meanio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linnovate/meanio/issues/69/comments","statuses_url":"https://api.github.com/repos/linnovate/meanio/statuses/ae43d2749fe945482096073b89a6f03c66f40cca","head":{"label":"rjVapes:feature/menu-weight","ref":"feature/menu-weight","sha":"ae43d2749fe945482096073b89a6f03c66f40cca","user":{"login":"rjVapes","id":1992658,"avatar_url":"https://avatars.githubusercontent.com/u/1992658?v=3","gravatar_id":"","url":"https://api.github.com/users/rjVapes","html_url":"https://github.com/rjVapes","followers_url":"https://api.github.com/users/rjVapes/followers","following_url":"https://api.github.com/users/rjVapes/following{/other_user}","gists_url":"https://api.github.com/users/rjVapes/gists{/gist_id}","starred_url":"https://api.github.com/users/rjVapes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjVapes/subscriptions","organizations_url":"https://api.github.com/users/rjVapes/orgs","repos_url":"https://api.github.com/users/rjVapes/repos","events_url":"https://api.github.com/users/rjVapes/events{/privacy}","received_events_url":"https://api.github.com/users/rjVapes/received_events","type":"User","site_admin":false},"repo":{"id":36900997,"name":"meanio","full_name":"rjVapes/meanio","owner":{"login":"rjVapes","id":1992658,"avatar_url":"https://avatars.githubusercontent.com/u/1992658?v=3","gravatar_id":"","url":"https://api.github.com/users/rjVapes","html_url":"https://github.com/rjVapes","followers_url":"https://api.github.com/users/rjVapes/followers","following_url":"https://api.github.com/users/rjVapes/following{/other_user}","gists_url":"https://api.github.com/users/rjVapes/gists{/gist_id}","starred_url":"https://api.github.com/users/rjVapes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjVapes/subscriptions","organizations_url":"https://api.github.com/users/rjVapes/orgs","repos_url":"https://api.github.com/users/rjVapes/repos","events_url":"https://api.github.com/users/rjVapes/events{/privacy}","received_events_url":"https://api.github.com/users/rjVapes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rjVapes/meanio","description":"meanio core module","fork":true,"url":"https://api.github.com/repos/rjVapes/meanio","forks_url":"https://api.github.com/repos/rjVapes/meanio/forks","keys_url":"https://api.github.com/repos/rjVapes/meanio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rjVapes/meanio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rjVapes/meanio/teams","hooks_url":"https://api.github.com/repos/rjVapes/meanio/hooks","issue_events_url":"https://api.github.com/repos/rjVapes/meanio/issues/events{/number}","events_url":"https://api.github.com/repos/rjVapes/meanio/events","assignees_url":"https://api.github.com/repos/rjVapes/meanio/assignees{/user}","branches_url":"https://api.github.com/repos/rjVapes/meanio/branches{/branch}","tags_url":"https://api.github.com/repos/rjVapes/meanio/tags","blobs_url":"https://api.github.com/repos/rjVapes/meanio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rjVapes/meanio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rjVapes/meanio/git/refs{/sha}","trees_url":"https://api.github.com/repos/rjVapes/meanio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rjVapes/meanio/statuses/{sha}","languages_url":"https://api.github.com/repos/rjVapes/meanio/languages","stargazers_url":"https://api.github.com/repos/rjVapes/meanio/stargazers","contributors_url":"https://api.github.com/repos/rjVapes/meanio/contributors","subscribers_url":"https://api.github.com/repos/rjVapes/meanio/subscribers","subscription_url":"https://api.github.com/repos/rjVapes/meanio/subscription","commits_url":"https://api.github.com/repos/rjVapes/meanio/commits{/sha}","git_commits_url":"https://api.github.com/repos/rjVapes/meanio/git/commits{/sha}","comments_url":"https://api.github.com/repos/rjVapes/meanio/comments{/number}","issue_comment_url":"https://api.github.com/repos/rjVapes/meanio/issues/comments{/number}","contents_url":"https://api.github.com/repos/rjVapes/meanio/contents/{+path}","compare_url":"https://api.github.com/repos/rjVapes/meanio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rjVapes/meanio/merges","archive_url":"https://api.github.com/repos/rjVapes/meanio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rjVapes/meanio/downloads","issues_url":"https://api.github.com/repos/rjVapes/meanio/issues{/number}","pulls_url":"https://api.github.com/repos/rjVapes/meanio/pulls{/number}","milestones_url":"https://api.github.com/repos/rjVapes/meanio/milestones{/number}","notifications_url":"https://api.github.com/repos/rjVapes/meanio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rjVapes/meanio/labels{/name}","releases_url":"https://api.github.com/repos/rjVapes/meanio/releases{/id}","created_at":"2015-06-04T23:21:44Z","updated_at":"2015-06-04T23:21:44Z","pushed_at":"2015-08-10T22:14:54Z","git_url":"git://github.com/rjVapes/meanio.git","ssh_url":"git@github.com:rjVapes/meanio.git","clone_url":"https://github.com/rjVapes/meanio.git","svn_url":"https://github.com/rjVapes/meanio","homepage":null,"size":454,"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":"linnovate:master","ref":"master","sha":"0aeb22c2c338efb0b2759b8fd2c4c2cdf527e626","user":{"login":"linnovate","id":307487,"avatar_url":"https://avatars.githubusercontent.com/u/307487?v=3","gravatar_id":"","url":"https://api.github.com/users/linnovate","html_url":"https://github.com/linnovate","followers_url":"https://api.github.com/users/linnovate/followers","following_url":"https://api.github.com/users/linnovate/following{/other_user}","gists_url":"https://api.github.com/users/linnovate/gists{/gist_id}","starred_url":"https://api.github.com/users/linnovate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linnovate/subscriptions","organizations_url":"https://api.github.com/users/linnovate/orgs","repos_url":"https://api.github.com/users/linnovate/repos","events_url":"https://api.github.com/users/linnovate/events{/privacy}","received_events_url":"https://api.github.com/users/linnovate/received_events","type":"Organization","site_admin":false},"repo":{"id":23213664,"name":"meanio","full_name":"linnovate/meanio","owner":{"login":"linnovate","id":307487,"avatar_url":"https://avatars.githubusercontent.com/u/307487?v=3","gravatar_id":"","url":"https://api.github.com/users/linnovate","html_url":"https://github.com/linnovate","followers_url":"https://api.github.com/users/linnovate/followers","following_url":"https://api.github.com/users/linnovate/following{/other_user}","gists_url":"https://api.github.com/users/linnovate/gists{/gist_id}","starred_url":"https://api.github.com/users/linnovate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linnovate/subscriptions","organizations_url":"https://api.github.com/users/linnovate/orgs","repos_url":"https://api.github.com/users/linnovate/repos","events_url":"https://api.github.com/users/linnovate/events{/privacy}","received_events_url":"https://api.github.com/users/linnovate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linnovate/meanio","description":"meanio core module","fork":false,"url":"https://api.github.com/repos/linnovate/meanio","forks_url":"https://api.github.com/repos/linnovate/meanio/forks","keys_url":"https://api.github.com/repos/linnovate/meanio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linnovate/meanio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linnovate/meanio/teams","hooks_url":"https://api.github.com/repos/linnovate/meanio/hooks","issue_events_url":"https://api.github.com/repos/linnovate/meanio/issues/events{/number}","events_url":"https://api.github.com/repos/linnovate/meanio/events","assignees_url":"https://api.github.com/repos/linnovate/meanio/assignees{/user}","branches_url":"https://api.github.com/repos/linnovate/meanio/branches{/branch}","tags_url":"https://api.github.com/repos/linnovate/meanio/tags","blobs_url":"https://api.github.com/repos/linnovate/meanio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linnovate/meanio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linnovate/meanio/git/refs{/sha}","trees_url":"https://api.github.com/repos/linnovate/meanio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linnovate/meanio/statuses/{sha}","languages_url":"https://api.github.com/repos/linnovate/meanio/languages","stargazers_url":"https://api.github.com/repos/linnovate/meanio/stargazers","contributors_url":"https://api.github.com/repos/linnovate/meanio/contributors","subscribers_url":"https://api.github.com/repos/linnovate/meanio/subscribers","subscription_url":"https://api.github.com/repos/linnovate/meanio/subscription","commits_url":"https://api.github.com/repos/linnovate/meanio/commits{/sha}","git_commits_url":"https://api.github.com/repos/linnovate/meanio/git/commits{/sha}","comments_url":"https://api.github.com/repos/linnovate/meanio/comments{/number}","issue_comment_url":"https://api.github.com/repos/linnovate/meanio/issues/comments{/number}","contents_url":"https://api.github.com/repos/linnovate/meanio/contents/{+path}","compare_url":"https://api.github.com/repos/linnovate/meanio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linnovate/meanio/merges","archive_url":"https://api.github.com/repos/linnovate/meanio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linnovate/meanio/downloads","issues_url":"https://api.github.com/repos/linnovate/meanio/issues{/number}","pulls_url":"https://api.github.com/repos/linnovate/meanio/pulls{/number}","milestones_url":"https://api.github.com/repos/linnovate/meanio/milestones{/number}","notifications_url":"https://api.github.com/repos/linnovate/meanio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linnovate/meanio/labels{/name}","releases_url":"https://api.github.com/repos/linnovate/meanio/releases{/id}","created_at":"2014-08-22T05:11:28Z","updated_at":"2015-08-03T09:32:55Z","pushed_at":"2015-08-06T20:34:50Z","git_url":"git://github.com/linnovate/meanio.git","ssh_url":"git@github.com:linnovate/meanio.git","clone_url":"https://github.com/linnovate/meanio.git","svn_url":"https://github.com/linnovate/meanio","homepage":null,"size":1027,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":33,"forks":41,"open_issues":33,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linnovate/meanio/pulls/69"},"html":{"href":"https://github.com/linnovate/meanio/pull/69"},"issue":{"href":"https://api.github.com/repos/linnovate/meanio/issues/69"},"comments":{"href":"https://api.github.com/repos/linnovate/meanio/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/linnovate/meanio/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/linnovate/meanio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linnovate/meanio/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/linnovate/meanio/statuses/ae43d2749fe945482096073b89a6f03c66f40cca"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}