{"action":"created","comment":{"url":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/comments/73742149","id":73742149,"diff_hunk":"@@ -0,0 +1,57 @@\n+(function() {\n+  'use strict';\n+\n+  var VendorItemsCombined = {\n+    controllerAs: 'vm',\n+    bindings: {\n+      stores: '<storesData',\n+      vendors: '<vendorsData',\n+      vendorHashes: '<vendorHashes',\n+      totalCoins: '<totalCoins'\n+    },\n+    template: [\n+      '<div class=\"vendor-char-items\" ng-init=\"firstVendor = vm.vendors[0][vm.vendorHashes[0]]\">',\n+      '  <div ng-if=\"firstVendor\">',\n+      '    <div class=\"vendor-header\">',\n+      '      <div class=\"title\">',\n+      '        Vanguard',\n+      '        <img class=\"vendor-icon\" ng-src=\"{{firstVendor.vendorIcon}}\" />',\n+      '        <timer class=\"vendor-timer\" ng-if=\"firstVendor.nextRefreshDate[0] !== \\'9\\'\" style=\"float:right\" end-time=\"firstVendor.nextRefreshDate\" max-time-unit=\"\\'day\\'\" interval=\"1000\">{{days}} day{{daysS}} {{hhours}}:{{mminutes}}:{{sseconds}}</timer>',\n+      '      </div>',\n+      '    </div>',\n+      '    <div class=\"vendor-row\">',\n+      '      <div class=\"char-cols store-cell\" ng-repeat=\"store in vm.stores | sortStores:vm.settings.characterOrder track by store.id\">',\n+      '        <div ng-repeat=\"(idx, vendorHash) in vm.vendorHashes\" ng-init=\"armor = store.vendors[vendorHash].items.armor; weapons = store.vendors[vendorHash].items.weapons; costs = store.vendors[vendorHash].costs\">',\n+      '          <div ng-if=\"store.vendors[vendorHash].items.armor.length\">',\n+      '            <h3>Armor</h3>',\n+      '            <div class=\"vendor-armor\">',\n+      '              <div class=\"vendor-item\" ng-repeat=\"saleItem in armor\">',\n+      '                <dim-simple-item  id=\"vendor-{{::saleItem.hash}}\" item-data=\"saleItem\" ng-click=\"vm.itemClicked(saleItem, $event)\" ng-class=\"{ \\'search-hidden\\': !saleItem.visible }\"></dim-simple-item>',\n+      '                <div class=\"cost\" ng-class=\"{notenough: (vm.totalCoins[costs[saleItem.hash].currency.itemHash] < costs[saleItem.hash].cost)}\">',\n+      '                  {{::costs[saleItem.hash].cost}}/{{vm.totalCoins[costs[saleItem.hash].currency.itemHash]}}',\n+      '                  <span class=\"currency\"><img dim-bungie-image-fallback=\"::costs[saleItem.hash].currency.icon\" title=\"{{::costs[saleItem.itemHash].currency.name}}\"></span>',\n+      '                </div>',\n+      '              </div>',\n+      '            </div>',\n+      '            <h3 ng-if=\"weapons.length\">Weapons</h3>',\n+      '            <div class=\"vendor-weaps\">',\n+      '              <div class=\"vendor-item\" ng-repeat=\"saleItem in weapons\">',\n+      '                <dim-simple-item  id=\"vendor-{{::saleItem.hash}}\" item-data=\"saleItem\" ng-click=\"vm.itemClicked(saleItem, $event)\" ng-class=\"{ \\'search-hidden\\': !saleItem.visible }\"></dim-simple-item>',\n+      '                <div class=\"cost\" ng-class=\"{notenough: (vm.totalCoins[costs[saleItem.hash].currency.itemHash] < costs[saleItem.hash].cost)}\">',\n+      '                  {{::costs[saleItem.hash].cost}}/{{vm.totalCoins[costs[saleItem.hash].currency.itemHash]}}',\n+      '                  <span class=\"currency\"><img dim-bungie-image-fallback=\"::costs[saleItem.hash].currency.icon\" title=\"{{::costs[saleItem.itemHash].currency.name}}\"></span>',\n+      '                </div>',\n+      '              </div>',\n+      '            </div>',\n+      '          </div>',\n+      '        </div>',\n+      '      </div>',\n+      '    </div>',\n+      '  </div>',\n+      '</div>',","path":"app/scripts/vendors/dimVendorItemsCombined.directive.js","position":51,"original_position":51,"commit_id":"08d5c5ca58a4ecf31dc104ff8e4871db23df4621","original_commit_id":"08d5c5ca58a4ecf31dc104ff8e4871db23df4621","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected trailing comma  comma-dangle","created_at":"2016-08-05T18:50:18Z","updated_at":"2016-08-05T18:50:18Z","html_url":"https://github.com/DestinyItemManager/DIM/pull/741#discussion_r73742149","pull_request_url":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/741","_links":{"self":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/comments/73742149"},"html":{"href":"https://github.com/DestinyItemManager/DIM/pull/741#discussion_r73742149"},"pull_request":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/741"}}},"pull_request":{"url":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/741","id":79982820,"html_url":"https://github.com/DestinyItemManager/DIM/pull/741","diff_url":"https://github.com/DestinyItemManager/DIM/pull/741.diff","patch_url":"https://github.com/DestinyItemManager/DIM/pull/741.patch","issue_url":"https://api.github.com/repos/DestinyItemManager/DIM/issues/741","number":741,"state":"open","locked":false,"title":"New vendor layout and now attached to stores","user":{"login":"ericnelson0","id":4594931,"avatar_url":"https://avatars.githubusercontent.com/u/4594931?v=3","gravatar_id":"","url":"https://api.github.com/users/ericnelson0","html_url":"https://github.com/ericnelson0","followers_url":"https://api.github.com/users/ericnelson0/followers","following_url":"https://api.github.com/users/ericnelson0/following{/other_user}","gists_url":"https://api.github.com/users/ericnelson0/gists{/gist_id}","starred_url":"https://api.github.com/users/ericnelson0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericnelson0/subscriptions","organizations_url":"https://api.github.com/users/ericnelson0/orgs","repos_url":"https://api.github.com/users/ericnelson0/repos","events_url":"https://api.github.com/users/ericnelson0/events{/privacy}","received_events_url":"https://api.github.com/users/ericnelson0/received_events","type":"User","site_admin":false},"body":"This PR addresses issues #709, #712, and #716. \r\n\r\nThe vendors are now attached to each character's store and the layout has changed.\r\n\r\n![example_vendor6](https://cloud.githubusercontent.com/assets/4594931/17382649/7f8537d6-5997-11e6-8d1c-e3402f1f7383.gif)\r\n","created_at":"2016-08-03T21:31:27Z","updated_at":"2016-08-05T18:50:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c3f9b21fcb0fa00200a6f7927beb56bf56925d2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/741/commits","review_comments_url":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/741/comments","review_comment_url":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DestinyItemManager/DIM/issues/741/comments","statuses_url":"https://api.github.com/repos/DestinyItemManager/DIM/statuses/08d5c5ca58a4ecf31dc104ff8e4871db23df4621","head":{"label":"ericnelson0:multiple-errs","ref":"multiple-errs","sha":"08d5c5ca58a4ecf31dc104ff8e4871db23df4621","user":{"login":"ericnelson0","id":4594931,"avatar_url":"https://avatars.githubusercontent.com/u/4594931?v=3","gravatar_id":"","url":"https://api.github.com/users/ericnelson0","html_url":"https://github.com/ericnelson0","followers_url":"https://api.github.com/users/ericnelson0/followers","following_url":"https://api.github.com/users/ericnelson0/following{/other_user}","gists_url":"https://api.github.com/users/ericnelson0/gists{/gist_id}","starred_url":"https://api.github.com/users/ericnelson0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericnelson0/subscriptions","organizations_url":"https://api.github.com/users/ericnelson0/orgs","repos_url":"https://api.github.com/users/ericnelson0/repos","events_url":"https://api.github.com/users/ericnelson0/events{/privacy}","received_events_url":"https://api.github.com/users/ericnelson0/received_events","type":"User","site_admin":false},"repo":{"id":58879621,"name":"DIM","full_name":"ericnelson0/DIM","owner":{"login":"ericnelson0","id":4594931,"avatar_url":"https://avatars.githubusercontent.com/u/4594931?v=3","gravatar_id":"","url":"https://api.github.com/users/ericnelson0","html_url":"https://github.com/ericnelson0","followers_url":"https://api.github.com/users/ericnelson0/followers","following_url":"https://api.github.com/users/ericnelson0/following{/other_user}","gists_url":"https://api.github.com/users/ericnelson0/gists{/gist_id}","starred_url":"https://api.github.com/users/ericnelson0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericnelson0/subscriptions","organizations_url":"https://api.github.com/users/ericnelson0/orgs","repos_url":"https://api.github.com/users/ericnelson0/repos","events_url":"https://api.github.com/users/ericnelson0/events{/privacy}","received_events_url":"https://api.github.com/users/ericnelson0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericnelson0/DIM","description":"Destiny Item Manager","fork":true,"url":"https://api.github.com/repos/ericnelson0/DIM","forks_url":"https://api.github.com/repos/ericnelson0/DIM/forks","keys_url":"https://api.github.com/repos/ericnelson0/DIM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericnelson0/DIM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericnelson0/DIM/teams","hooks_url":"https://api.github.com/repos/ericnelson0/DIM/hooks","issue_events_url":"https://api.github.com/repos/ericnelson0/DIM/issues/events{/number}","events_url":"https://api.github.com/repos/ericnelson0/DIM/events","assignees_url":"https://api.github.com/repos/ericnelson0/DIM/assignees{/user}","branches_url":"https://api.github.com/repos/ericnelson0/DIM/branches{/branch}","tags_url":"https://api.github.com/repos/ericnelson0/DIM/tags","blobs_url":"https://api.github.com/repos/ericnelson0/DIM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericnelson0/DIM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericnelson0/DIM/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericnelson0/DIM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericnelson0/DIM/statuses/{sha}","languages_url":"https://api.github.com/repos/ericnelson0/DIM/languages","stargazers_url":"https://api.github.com/repos/ericnelson0/DIM/stargazers","contributors_url":"https://api.github.com/repos/ericnelson0/DIM/contributors","subscribers_url":"https://api.github.com/repos/ericnelson0/DIM/subscribers","subscription_url":"https://api.github.com/repos/ericnelson0/DIM/subscription","commits_url":"https://api.github.com/repos/ericnelson0/DIM/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericnelson0/DIM/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericnelson0/DIM/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericnelson0/DIM/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericnelson0/DIM/contents/{+path}","compare_url":"https://api.github.com/repos/ericnelson0/DIM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericnelson0/DIM/merges","archive_url":"https://api.github.com/repos/ericnelson0/DIM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericnelson0/DIM/downloads","issues_url":"https://api.github.com/repos/ericnelson0/DIM/issues{/number}","pulls_url":"https://api.github.com/repos/ericnelson0/DIM/pulls{/number}","milestones_url":"https://api.github.com/repos/ericnelson0/DIM/milestones{/number}","notifications_url":"https://api.github.com/repos/ericnelson0/DIM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericnelson0/DIM/labels{/name}","releases_url":"https://api.github.com/repos/ericnelson0/DIM/releases{/id}","deployments_url":"https://api.github.com/repos/ericnelson0/DIM/deployments","created_at":"2016-05-15T19:17:19Z","updated_at":"2016-05-15T19:17:23Z","pushed_at":"2016-08-05T18:50:06Z","git_url":"git://github.com/ericnelson0/DIM.git","ssh_url":"git@github.com:ericnelson0/DIM.git","clone_url":"https://github.com/ericnelson0/DIM.git","svn_url":"https://github.com/ericnelson0/DIM","homepage":"https://chrome.google.com/webstore/detail/destiny-item-manager/apghicjnekejhfancbkahkhdckhdagna","size":239754,"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":"dev"}},"base":{"label":"DestinyItemManager:dev","ref":"dev","sha":"299ff4106eb32926dcc05640c6eb828e39b19f6f","user":{"login":"DestinyItemManager","id":12777189,"avatar_url":"https://avatars.githubusercontent.com/u/12777189?v=3","gravatar_id":"","url":"https://api.github.com/users/DestinyItemManager","html_url":"https://github.com/DestinyItemManager","followers_url":"https://api.github.com/users/DestinyItemManager/followers","following_url":"https://api.github.com/users/DestinyItemManager/following{/other_user}","gists_url":"https://api.github.com/users/DestinyItemManager/gists{/gist_id}","starred_url":"https://api.github.com/users/DestinyItemManager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DestinyItemManager/subscriptions","organizations_url":"https://api.github.com/users/DestinyItemManager/orgs","repos_url":"https://api.github.com/users/DestinyItemManager/repos","events_url":"https://api.github.com/users/DestinyItemManager/events{/privacy}","received_events_url":"https://api.github.com/users/DestinyItemManager/received_events","type":"Organization","site_admin":false},"repo":{"id":31681575,"name":"DIM","full_name":"DestinyItemManager/DIM","owner":{"login":"DestinyItemManager","id":12777189,"avatar_url":"https://avatars.githubusercontent.com/u/12777189?v=3","gravatar_id":"","url":"https://api.github.com/users/DestinyItemManager","html_url":"https://github.com/DestinyItemManager","followers_url":"https://api.github.com/users/DestinyItemManager/followers","following_url":"https://api.github.com/users/DestinyItemManager/following{/other_user}","gists_url":"https://api.github.com/users/DestinyItemManager/gists{/gist_id}","starred_url":"https://api.github.com/users/DestinyItemManager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DestinyItemManager/subscriptions","organizations_url":"https://api.github.com/users/DestinyItemManager/orgs","repos_url":"https://api.github.com/users/DestinyItemManager/repos","events_url":"https://api.github.com/users/DestinyItemManager/events{/privacy}","received_events_url":"https://api.github.com/users/DestinyItemManager/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DestinyItemManager/DIM","description":"Destiny Item Manager","fork":false,"url":"https://api.github.com/repos/DestinyItemManager/DIM","forks_url":"https://api.github.com/repos/DestinyItemManager/DIM/forks","keys_url":"https://api.github.com/repos/DestinyItemManager/DIM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DestinyItemManager/DIM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DestinyItemManager/DIM/teams","hooks_url":"https://api.github.com/repos/DestinyItemManager/DIM/hooks","issue_events_url":"https://api.github.com/repos/DestinyItemManager/DIM/issues/events{/number}","events_url":"https://api.github.com/repos/DestinyItemManager/DIM/events","assignees_url":"https://api.github.com/repos/DestinyItemManager/DIM/assignees{/user}","branches_url":"https://api.github.com/repos/DestinyItemManager/DIM/branches{/branch}","tags_url":"https://api.github.com/repos/DestinyItemManager/DIM/tags","blobs_url":"https://api.github.com/repos/DestinyItemManager/DIM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DestinyItemManager/DIM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DestinyItemManager/DIM/git/refs{/sha}","trees_url":"https://api.github.com/repos/DestinyItemManager/DIM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DestinyItemManager/DIM/statuses/{sha}","languages_url":"https://api.github.com/repos/DestinyItemManager/DIM/languages","stargazers_url":"https://api.github.com/repos/DestinyItemManager/DIM/stargazers","contributors_url":"https://api.github.com/repos/DestinyItemManager/DIM/contributors","subscribers_url":"https://api.github.com/repos/DestinyItemManager/DIM/subscribers","subscription_url":"https://api.github.com/repos/DestinyItemManager/DIM/subscription","commits_url":"https://api.github.com/repos/DestinyItemManager/DIM/commits{/sha}","git_commits_url":"https://api.github.com/repos/DestinyItemManager/DIM/git/commits{/sha}","comments_url":"https://api.github.com/repos/DestinyItemManager/DIM/comments{/number}","issue_comment_url":"https://api.github.com/repos/DestinyItemManager/DIM/issues/comments{/number}","contents_url":"https://api.github.com/repos/DestinyItemManager/DIM/contents/{+path}","compare_url":"https://api.github.com/repos/DestinyItemManager/DIM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DestinyItemManager/DIM/merges","archive_url":"https://api.github.com/repos/DestinyItemManager/DIM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DestinyItemManager/DIM/downloads","issues_url":"https://api.github.com/repos/DestinyItemManager/DIM/issues{/number}","pulls_url":"https://api.github.com/repos/DestinyItemManager/DIM/pulls{/number}","milestones_url":"https://api.github.com/repos/DestinyItemManager/DIM/milestones{/number}","notifications_url":"https://api.github.com/repos/DestinyItemManager/DIM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DestinyItemManager/DIM/labels{/name}","releases_url":"https://api.github.com/repos/DestinyItemManager/DIM/releases{/id}","deployments_url":"https://api.github.com/repos/DestinyItemManager/DIM/deployments","created_at":"2015-03-04T21:46:50Z","updated_at":"2016-08-02T22:48:32Z","pushed_at":"2016-08-05T18:50:07Z","git_url":"git://github.com/DestinyItemManager/DIM.git","ssh_url":"git@github.com:DestinyItemManager/DIM.git","clone_url":"https://github.com/DestinyItemManager/DIM.git","svn_url":"https://github.com/DestinyItemManager/DIM","homepage":"https://chrome.google.com/webstore/detail/destiny-item-manager/apghicjnekejhfancbkahkhdckhdagna","size":246148,"stargazers_count":311,"watchers_count":311,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":83,"forks":152,"open_issues":83,"watchers":311,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/741"},"html":{"href":"https://github.com/DestinyItemManager/DIM/pull/741"},"issue":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/issues/741"},"comments":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/issues/741/comments"},"review_comments":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/741/comments"},"review_comment":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/pulls/741/commits"},"statuses":{"href":"https://api.github.com/repos/DestinyItemManager/DIM/statuses/08d5c5ca58a4ecf31dc104ff8e4871db23df4621"}}}}
{"actor":{"display_login":"houndci-bot"}}