{"action":"created","comment":{"url":"https://api.github.com/repos/townsquared/utils/pulls/comments/53372074","id":53372074,"diff_hunk":"@@ -105,34 +114,38 @@ angular.module('ts.utils')\n         $scope.$watch('tsDropDown', function(){\n           if(angular.isArray($scope.tsDropDown)){\n             $scope.tsDropDown.forEach(function(dropDownItem) {\n-              $transclude($scope.$new(), function(clone, scope) {\n-                scope.item = dropDownItem;\n-\n-                var listItem = ae(document.createElement('li'));\n-                listItem.attr('ng-class', '{\"highlighted\":highlightedItem==item}');\n-                var compiledListItem = $compile(listItem)(scope);\n-                compiledListItem.append(clone[0]);\n-\n-                if( !dropDownItem.hasOwnProperty('interactive') ||\n-                  dropDownItem.interactive === true) {\n-                  compiledListItem.on('click', function() {\n-                    updateSelected(dropDownItem);\n-                    if($scope.tsItemClick)\n-                      $scope.tsItemClick({item:dropDownItem});\n-                    $scope.$apply(toggleDropDown);\n-                  });\n-                  compiledListItem.on('mouseenter', function(){\n-                    $scope.highlightedItem = scope.item;\n-                    selectedIndex = $scope.tsDropDown.indexOf(scope.item);\n-                    $scope.$apply();\n-                  });\n-\n-                }\n-\n-                compiledListItem[0].style.width=(scope.tsDropDownWidth||(textDisplayElement[0].offsetWidth))+'px';\n-\n-                dropDownUnorderedList.append(compiledListItem);\n-              }, null, 'listItem');\n+\n+              if($scope.listItemTransclude){\n+                $scope.listItemTransclude($scope.$new(), function(clone, scope) {\n+                  scope.item = dropDownItem;\n+\n+                  var listItem = ae(document.createElement('li'));\n+                  listItem.attr('ng-class', '{\"highlighted\":highlightedItem==item}');\n+                  var compiledListItem = $compile(listItem)(scope);\n+                  compiledListItem.append(clone[0]);\n+\n+                  //Adds event handlers if the item isn't explicitly marked non interactive\n+                  if( !dropDownItem.hasOwnProperty('interactive') ||\n+                    dropDownItem.interactive === true) {\n+                    compiledListItem.on('click', function() {\n+                      updateSelected(dropDownItem);\n+                      if($scope.tsItemClick)\n+                        $scope.tsItemClick({item:dropDownItem});","path":"src/dropDown.js","position":128,"original_position":128,"commit_id":"dea9a68b266fceb83c1a8ab7589c3f2d42555ada","original_commit_id":"dea9a68b266fceb83c1a8ab7589c3f2d42555ada","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":"Expected '{' and instead saw '$scope'.","created_at":"2016-02-18T19:49:55Z","updated_at":"2016-02-18T19:49:55Z","html_url":"https://github.com/townsquared/utils/pull/8#discussion_r53372074","pull_request_url":"https://api.github.com/repos/townsquared/utils/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/townsquared/utils/pulls/comments/53372074"},"html":{"href":"https://github.com/townsquared/utils/pull/8#discussion_r53372074"},"pull_request":{"href":"https://api.github.com/repos/townsquared/utils/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/townsquared/utils/pulls/8","id":59735180,"html_url":"https://github.com/townsquared/utils/pull/8","diff_url":"https://github.com/townsquared/utils/pull/8.diff","patch_url":"https://github.com/townsquared/utils/pull/8.patch","issue_url":"https://api.github.com/repos/townsquared/utils/issues/8","number":8,"state":"open","locked":false,"title":"Minor change to the build to include SCSS in dist, fixes transclude t…","user":{"login":"shusain","id":523230,"avatar_url":"https://avatars.githubusercontent.com/u/523230?v=3","gravatar_id":"","url":"https://api.github.com/users/shusain","html_url":"https://github.com/shusain","followers_url":"https://api.github.com/users/shusain/followers","following_url":"https://api.github.com/users/shusain/following{/other_user}","gists_url":"https://api.github.com/users/shusain/gists{/gist_id}","starred_url":"https://api.github.com/users/shusain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shusain/subscriptions","organizations_url":"https://api.github.com/users/shusain/orgs","repos_url":"https://api.github.com/users/shusain/repos","events_url":"https://api.github.com/users/shusain/events{/privacy}","received_events_url":"https://api.github.com/users/shusain/received_events","type":"User","site_admin":false},"body":"…o be 1.3 friendly.","created_at":"2016-02-18T00:57:19Z","updated_at":"2016-02-18T19:49:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6e4ef3198fcf3d6f0c6adee48ed799021f2b9fe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/townsquared/utils/pulls/8/commits","review_comments_url":"https://api.github.com/repos/townsquared/utils/pulls/8/comments","review_comment_url":"https://api.github.com/repos/townsquared/utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/townsquared/utils/issues/8/comments","statuses_url":"https://api.github.com/repos/townsquared/utils/statuses/dea9a68b266fceb83c1a8ab7589c3f2d42555ada","head":{"label":"townsquared:fixes-for-v1_3-compat","ref":"fixes-for-v1_3-compat","sha":"dea9a68b266fceb83c1a8ab7589c3f2d42555ada","user":{"login":"townsquared","id":7076183,"avatar_url":"https://avatars.githubusercontent.com/u/7076183?v=3","gravatar_id":"","url":"https://api.github.com/users/townsquared","html_url":"https://github.com/townsquared","followers_url":"https://api.github.com/users/townsquared/followers","following_url":"https://api.github.com/users/townsquared/following{/other_user}","gists_url":"https://api.github.com/users/townsquared/gists{/gist_id}","starred_url":"https://api.github.com/users/townsquared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/townsquared/subscriptions","organizations_url":"https://api.github.com/users/townsquared/orgs","repos_url":"https://api.github.com/users/townsquared/repos","events_url":"https://api.github.com/users/townsquared/events{/privacy}","received_events_url":"https://api.github.com/users/townsquared/received_events","type":"Organization","site_admin":false},"repo":{"id":35169302,"name":"utils","full_name":"townsquared/utils","owner":{"login":"townsquared","id":7076183,"avatar_url":"https://avatars.githubusercontent.com/u/7076183?v=3","gravatar_id":"","url":"https://api.github.com/users/townsquared","html_url":"https://github.com/townsquared","followers_url":"https://api.github.com/users/townsquared/followers","following_url":"https://api.github.com/users/townsquared/following{/other_user}","gists_url":"https://api.github.com/users/townsquared/gists{/gist_id}","starred_url":"https://api.github.com/users/townsquared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/townsquared/subscriptions","organizations_url":"https://api.github.com/users/townsquared/orgs","repos_url":"https://api.github.com/users/townsquared/repos","events_url":"https://api.github.com/users/townsquared/events{/privacy}","received_events_url":"https://api.github.com/users/townsquared/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/townsquared/utils","description":"A package of open-sourceable angularjs utils","fork":false,"url":"https://api.github.com/repos/townsquared/utils","forks_url":"https://api.github.com/repos/townsquared/utils/forks","keys_url":"https://api.github.com/repos/townsquared/utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/townsquared/utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/townsquared/utils/teams","hooks_url":"https://api.github.com/repos/townsquared/utils/hooks","issue_events_url":"https://api.github.com/repos/townsquared/utils/issues/events{/number}","events_url":"https://api.github.com/repos/townsquared/utils/events","assignees_url":"https://api.github.com/repos/townsquared/utils/assignees{/user}","branches_url":"https://api.github.com/repos/townsquared/utils/branches{/branch}","tags_url":"https://api.github.com/repos/townsquared/utils/tags","blobs_url":"https://api.github.com/repos/townsquared/utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/townsquared/utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/townsquared/utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/townsquared/utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/townsquared/utils/statuses/{sha}","languages_url":"https://api.github.com/repos/townsquared/utils/languages","stargazers_url":"https://api.github.com/repos/townsquared/utils/stargazers","contributors_url":"https://api.github.com/repos/townsquared/utils/contributors","subscribers_url":"https://api.github.com/repos/townsquared/utils/subscribers","subscription_url":"https://api.github.com/repos/townsquared/utils/subscription","commits_url":"https://api.github.com/repos/townsquared/utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/townsquared/utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/townsquared/utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/townsquared/utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/townsquared/utils/contents/{+path}","compare_url":"https://api.github.com/repos/townsquared/utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/townsquared/utils/merges","archive_url":"https://api.github.com/repos/townsquared/utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/townsquared/utils/downloads","issues_url":"https://api.github.com/repos/townsquared/utils/issues{/number}","pulls_url":"https://api.github.com/repos/townsquared/utils/pulls{/number}","milestones_url":"https://api.github.com/repos/townsquared/utils/milestones{/number}","notifications_url":"https://api.github.com/repos/townsquared/utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/townsquared/utils/labels{/name}","releases_url":"https://api.github.com/repos/townsquared/utils/releases{/id}","deployments_url":"https://api.github.com/repos/townsquared/utils/deployments","created_at":"2015-05-06T16:10:28Z","updated_at":"2016-02-17T21:25:07Z","pushed_at":"2016-02-18T19:49:00Z","git_url":"git://github.com/townsquared/utils.git","ssh_url":"git@github.com:townsquared/utils.git","clone_url":"https://github.com/townsquared/utils.git","svn_url":"https://github.com/townsquared/utils","homepage":null,"size":1356,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"townsquared:master","ref":"master","sha":"232f35812293f6bc8e47c91e8982d837927719de","user":{"login":"townsquared","id":7076183,"avatar_url":"https://avatars.githubusercontent.com/u/7076183?v=3","gravatar_id":"","url":"https://api.github.com/users/townsquared","html_url":"https://github.com/townsquared","followers_url":"https://api.github.com/users/townsquared/followers","following_url":"https://api.github.com/users/townsquared/following{/other_user}","gists_url":"https://api.github.com/users/townsquared/gists{/gist_id}","starred_url":"https://api.github.com/users/townsquared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/townsquared/subscriptions","organizations_url":"https://api.github.com/users/townsquared/orgs","repos_url":"https://api.github.com/users/townsquared/repos","events_url":"https://api.github.com/users/townsquared/events{/privacy}","received_events_url":"https://api.github.com/users/townsquared/received_events","type":"Organization","site_admin":false},"repo":{"id":35169302,"name":"utils","full_name":"townsquared/utils","owner":{"login":"townsquared","id":7076183,"avatar_url":"https://avatars.githubusercontent.com/u/7076183?v=3","gravatar_id":"","url":"https://api.github.com/users/townsquared","html_url":"https://github.com/townsquared","followers_url":"https://api.github.com/users/townsquared/followers","following_url":"https://api.github.com/users/townsquared/following{/other_user}","gists_url":"https://api.github.com/users/townsquared/gists{/gist_id}","starred_url":"https://api.github.com/users/townsquared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/townsquared/subscriptions","organizations_url":"https://api.github.com/users/townsquared/orgs","repos_url":"https://api.github.com/users/townsquared/repos","events_url":"https://api.github.com/users/townsquared/events{/privacy}","received_events_url":"https://api.github.com/users/townsquared/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/townsquared/utils","description":"A package of open-sourceable angularjs utils","fork":false,"url":"https://api.github.com/repos/townsquared/utils","forks_url":"https://api.github.com/repos/townsquared/utils/forks","keys_url":"https://api.github.com/repos/townsquared/utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/townsquared/utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/townsquared/utils/teams","hooks_url":"https://api.github.com/repos/townsquared/utils/hooks","issue_events_url":"https://api.github.com/repos/townsquared/utils/issues/events{/number}","events_url":"https://api.github.com/repos/townsquared/utils/events","assignees_url":"https://api.github.com/repos/townsquared/utils/assignees{/user}","branches_url":"https://api.github.com/repos/townsquared/utils/branches{/branch}","tags_url":"https://api.github.com/repos/townsquared/utils/tags","blobs_url":"https://api.github.com/repos/townsquared/utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/townsquared/utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/townsquared/utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/townsquared/utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/townsquared/utils/statuses/{sha}","languages_url":"https://api.github.com/repos/townsquared/utils/languages","stargazers_url":"https://api.github.com/repos/townsquared/utils/stargazers","contributors_url":"https://api.github.com/repos/townsquared/utils/contributors","subscribers_url":"https://api.github.com/repos/townsquared/utils/subscribers","subscription_url":"https://api.github.com/repos/townsquared/utils/subscription","commits_url":"https://api.github.com/repos/townsquared/utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/townsquared/utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/townsquared/utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/townsquared/utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/townsquared/utils/contents/{+path}","compare_url":"https://api.github.com/repos/townsquared/utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/townsquared/utils/merges","archive_url":"https://api.github.com/repos/townsquared/utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/townsquared/utils/downloads","issues_url":"https://api.github.com/repos/townsquared/utils/issues{/number}","pulls_url":"https://api.github.com/repos/townsquared/utils/pulls{/number}","milestones_url":"https://api.github.com/repos/townsquared/utils/milestones{/number}","notifications_url":"https://api.github.com/repos/townsquared/utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/townsquared/utils/labels{/name}","releases_url":"https://api.github.com/repos/townsquared/utils/releases{/id}","deployments_url":"https://api.github.com/repos/townsquared/utils/deployments","created_at":"2015-05-06T16:10:28Z","updated_at":"2016-02-17T21:25:07Z","pushed_at":"2016-02-18T19:49:00Z","git_url":"git://github.com/townsquared/utils.git","ssh_url":"git@github.com:townsquared/utils.git","clone_url":"https://github.com/townsquared/utils.git","svn_url":"https://github.com/townsquared/utils","homepage":null,"size":1356,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/townsquared/utils/pulls/8"},"html":{"href":"https://github.com/townsquared/utils/pull/8"},"issue":{"href":"https://api.github.com/repos/townsquared/utils/issues/8"},"comments":{"href":"https://api.github.com/repos/townsquared/utils/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/townsquared/utils/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/townsquared/utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/townsquared/utils/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/townsquared/utils/statuses/dea9a68b266fceb83c1a8ab7589c3f2d42555ada"}}}}