{"action":"created","comment":{"url":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/comments/53063971","id":53063971,"diff_hunk":"@@ -0,0 +1,31 @@\n+(function () {\n+  \"use strict\";\n+\n+  angular.module(\"risevision.common.components.repeat-setting\", [\n+    \"risevision.common.i18n\"\n+  ])\n+    .directive(\"repeatSetting\", [\"$templateCache\",\n+      function ($templateCache) {\n+        return {\n+          restrict: \"E\",\n+          scope: {\n+            repeat: \"=\",\n+            hideLabel: \"@\",\n+            parentContainerClass: \"=\",\n+            containerClass: \"=\",\n+            \"disabled\": \"=\"\n+          },\n+          template: $templateCache.get(\n+            \"background-image-setting/repeat-setting.html\"),\n+          link: function ($scope) {\n+            $scope.$watch(\"repeat\", function (repeat) {\n+              if (typeof repeat === \"undefined\") {\n+                // set a default\n+                $scope.repeat = \"no-repeat\";","path":"src/background-image-setting/dtv-repeat-setting.js","position":24,"original_position":24,"commit_id":"277ded4a4a67fcea705965d1f13734e22de65244","original_commit_id":"277ded4a4a67fcea705965d1f13734e22de65244","user":{"login":"ezequielc","id":7738553,"avatar_url":"https://avatars.githubusercontent.com/u/7738553?v=3","gravatar_id":"","url":"https://api.github.com/users/ezequielc","html_url":"https://github.com/ezequielc","followers_url":"https://api.github.com/users/ezequielc/followers","following_url":"https://api.github.com/users/ezequielc/following{/other_user}","gists_url":"https://api.github.com/users/ezequielc/gists{/gist_id}","starred_url":"https://api.github.com/users/ezequielc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezequielc/subscriptions","organizations_url":"https://api.github.com/users/ezequielc/orgs","repos_url":"https://api.github.com/users/ezequielc/repos","events_url":"https://api.github.com/users/ezequielc/events{/privacy}","received_events_url":"https://api.github.com/users/ezequielc/received_events","type":"User","site_admin":false},"body":"@alex-deaconu I tried your suggestion to remove the `$watch`, but even though the parser works, we get an empty selection when creating a new placeholder or presentation. So, I would prefer to keep it. Do you agree? Thanks!","created_at":"2016-02-16T19:28:01Z","updated_at":"2016-02-16T19:28:01Z","html_url":"https://github.com/Rise-Vision/common-app-components/pull/49#discussion_r53063971","pull_request_url":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/comments/53063971"},"html":{"href":"https://github.com/Rise-Vision/common-app-components/pull/49#discussion_r53063971"},"pull_request":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/49","id":59508428,"html_url":"https://github.com/Rise-Vision/common-app-components/pull/49","diff_url":"https://github.com/Rise-Vision/common-app-components/pull/49.diff","patch_url":"https://github.com/Rise-Vision/common-app-components/pull/49.patch","issue_url":"https://api.github.com/repos/Rise-Vision/common-app-components/issues/49","number":49,"state":"open","locked":false,"title":"Copying old version of background image and adding image repeat","user":{"login":"ezequielc","id":7738553,"avatar_url":"https://avatars.githubusercontent.com/u/7738553?v=3","gravatar_id":"","url":"https://api.github.com/users/ezequielc","html_url":"https://github.com/ezequielc","followers_url":"https://api.github.com/users/ezequielc/followers","following_url":"https://api.github.com/users/ezequielc/following{/other_user}","gists_url":"https://api.github.com/users/ezequielc/gists{/gist_id}","starred_url":"https://api.github.com/users/ezequielc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezequielc/subscriptions","organizations_url":"https://api.github.com/users/ezequielc/orgs","repos_url":"https://api.github.com/users/ezequielc/repos","events_url":"https://api.github.com/users/ezequielc/events{/privacy}","received_events_url":"https://api.github.com/users/ezequielc/received_events","type":"User","site_admin":false},"body":"@alex-deaconu Please review. Thanks!","created_at":"2016-02-16T15:41:42Z","updated_at":"2016-02-16T19:28:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37908430f79b634d7c4341e9ff6278400ab7b5b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/49/commits","review_comments_url":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/49/comments","review_comment_url":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rise-Vision/common-app-components/issues/49/comments","statuses_url":"https://api.github.com/repos/Rise-Vision/common-app-components/statuses/277ded4a4a67fcea705965d1f13734e22de65244","head":{"label":"Rise-Vision:feature/image-repeat","ref":"feature/image-repeat","sha":"277ded4a4a67fcea705965d1f13734e22de65244","user":{"login":"Rise-Vision","id":6840223,"avatar_url":"https://avatars.githubusercontent.com/u/6840223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rise-Vision","html_url":"https://github.com/Rise-Vision","followers_url":"https://api.github.com/users/Rise-Vision/followers","following_url":"https://api.github.com/users/Rise-Vision/following{/other_user}","gists_url":"https://api.github.com/users/Rise-Vision/gists{/gist_id}","starred_url":"https://api.github.com/users/Rise-Vision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rise-Vision/subscriptions","organizations_url":"https://api.github.com/users/Rise-Vision/orgs","repos_url":"https://api.github.com/users/Rise-Vision/repos","events_url":"https://api.github.com/users/Rise-Vision/events{/privacy}","received_events_url":"https://api.github.com/users/Rise-Vision/received_events","type":"Organization","site_admin":false},"repo":{"id":30317852,"name":"common-app-components","full_name":"Rise-Vision/common-app-components","owner":{"login":"Rise-Vision","id":6840223,"avatar_url":"https://avatars.githubusercontent.com/u/6840223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rise-Vision","html_url":"https://github.com/Rise-Vision","followers_url":"https://api.github.com/users/Rise-Vision/followers","following_url":"https://api.github.com/users/Rise-Vision/following{/other_user}","gists_url":"https://api.github.com/users/Rise-Vision/gists{/gist_id}","starred_url":"https://api.github.com/users/Rise-Vision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rise-Vision/subscriptions","organizations_url":"https://api.github.com/users/Rise-Vision/orgs","repos_url":"https://api.github.com/users/Rise-Vision/repos","events_url":"https://api.github.com/users/Rise-Vision/events{/privacy}","received_events_url":"https://api.github.com/users/Rise-Vision/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rise-Vision/common-app-components","description":"a repo that store all common-components to be used in rise vision apps","fork":false,"url":"https://api.github.com/repos/Rise-Vision/common-app-components","forks_url":"https://api.github.com/repos/Rise-Vision/common-app-components/forks","keys_url":"https://api.github.com/repos/Rise-Vision/common-app-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rise-Vision/common-app-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rise-Vision/common-app-components/teams","hooks_url":"https://api.github.com/repos/Rise-Vision/common-app-components/hooks","issue_events_url":"https://api.github.com/repos/Rise-Vision/common-app-components/issues/events{/number}","events_url":"https://api.github.com/repos/Rise-Vision/common-app-components/events","assignees_url":"https://api.github.com/repos/Rise-Vision/common-app-components/assignees{/user}","branches_url":"https://api.github.com/repos/Rise-Vision/common-app-components/branches{/branch}","tags_url":"https://api.github.com/repos/Rise-Vision/common-app-components/tags","blobs_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rise-Vision/common-app-components/statuses/{sha}","languages_url":"https://api.github.com/repos/Rise-Vision/common-app-components/languages","stargazers_url":"https://api.github.com/repos/Rise-Vision/common-app-components/stargazers","contributors_url":"https://api.github.com/repos/Rise-Vision/common-app-components/contributors","subscribers_url":"https://api.github.com/repos/Rise-Vision/common-app-components/subscribers","subscription_url":"https://api.github.com/repos/Rise-Vision/common-app-components/subscription","commits_url":"https://api.github.com/repos/Rise-Vision/common-app-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rise-Vision/common-app-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rise-Vision/common-app-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rise-Vision/common-app-components/contents/{+path}","compare_url":"https://api.github.com/repos/Rise-Vision/common-app-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rise-Vision/common-app-components/merges","archive_url":"https://api.github.com/repos/Rise-Vision/common-app-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rise-Vision/common-app-components/downloads","issues_url":"https://api.github.com/repos/Rise-Vision/common-app-components/issues{/number}","pulls_url":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls{/number}","milestones_url":"https://api.github.com/repos/Rise-Vision/common-app-components/milestones{/number}","notifications_url":"https://api.github.com/repos/Rise-Vision/common-app-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rise-Vision/common-app-components/labels{/name}","releases_url":"https://api.github.com/repos/Rise-Vision/common-app-components/releases{/id}","deployments_url":"https://api.github.com/repos/Rise-Vision/common-app-components/deployments","created_at":"2015-02-04T19:51:41Z","updated_at":"2016-02-03T19:07:58Z","pushed_at":"2016-02-16T15:41:43Z","git_url":"git://github.com/Rise-Vision/common-app-components.git","ssh_url":"git@github.com:Rise-Vision/common-app-components.git","clone_url":"https://github.com/Rise-Vision/common-app-components.git","svn_url":"https://github.com/Rise-Vision/common-app-components","homepage":null,"size":206,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Rise-Vision:master","ref":"master","sha":"054399a3e602df60c4946dc10113047ce36f41c3","user":{"login":"Rise-Vision","id":6840223,"avatar_url":"https://avatars.githubusercontent.com/u/6840223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rise-Vision","html_url":"https://github.com/Rise-Vision","followers_url":"https://api.github.com/users/Rise-Vision/followers","following_url":"https://api.github.com/users/Rise-Vision/following{/other_user}","gists_url":"https://api.github.com/users/Rise-Vision/gists{/gist_id}","starred_url":"https://api.github.com/users/Rise-Vision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rise-Vision/subscriptions","organizations_url":"https://api.github.com/users/Rise-Vision/orgs","repos_url":"https://api.github.com/users/Rise-Vision/repos","events_url":"https://api.github.com/users/Rise-Vision/events{/privacy}","received_events_url":"https://api.github.com/users/Rise-Vision/received_events","type":"Organization","site_admin":false},"repo":{"id":30317852,"name":"common-app-components","full_name":"Rise-Vision/common-app-components","owner":{"login":"Rise-Vision","id":6840223,"avatar_url":"https://avatars.githubusercontent.com/u/6840223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rise-Vision","html_url":"https://github.com/Rise-Vision","followers_url":"https://api.github.com/users/Rise-Vision/followers","following_url":"https://api.github.com/users/Rise-Vision/following{/other_user}","gists_url":"https://api.github.com/users/Rise-Vision/gists{/gist_id}","starred_url":"https://api.github.com/users/Rise-Vision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rise-Vision/subscriptions","organizations_url":"https://api.github.com/users/Rise-Vision/orgs","repos_url":"https://api.github.com/users/Rise-Vision/repos","events_url":"https://api.github.com/users/Rise-Vision/events{/privacy}","received_events_url":"https://api.github.com/users/Rise-Vision/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rise-Vision/common-app-components","description":"a repo that store all common-components to be used in rise vision apps","fork":false,"url":"https://api.github.com/repos/Rise-Vision/common-app-components","forks_url":"https://api.github.com/repos/Rise-Vision/common-app-components/forks","keys_url":"https://api.github.com/repos/Rise-Vision/common-app-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rise-Vision/common-app-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rise-Vision/common-app-components/teams","hooks_url":"https://api.github.com/repos/Rise-Vision/common-app-components/hooks","issue_events_url":"https://api.github.com/repos/Rise-Vision/common-app-components/issues/events{/number}","events_url":"https://api.github.com/repos/Rise-Vision/common-app-components/events","assignees_url":"https://api.github.com/repos/Rise-Vision/common-app-components/assignees{/user}","branches_url":"https://api.github.com/repos/Rise-Vision/common-app-components/branches{/branch}","tags_url":"https://api.github.com/repos/Rise-Vision/common-app-components/tags","blobs_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rise-Vision/common-app-components/statuses/{sha}","languages_url":"https://api.github.com/repos/Rise-Vision/common-app-components/languages","stargazers_url":"https://api.github.com/repos/Rise-Vision/common-app-components/stargazers","contributors_url":"https://api.github.com/repos/Rise-Vision/common-app-components/contributors","subscribers_url":"https://api.github.com/repos/Rise-Vision/common-app-components/subscribers","subscription_url":"https://api.github.com/repos/Rise-Vision/common-app-components/subscription","commits_url":"https://api.github.com/repos/Rise-Vision/common-app-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rise-Vision/common-app-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rise-Vision/common-app-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rise-Vision/common-app-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rise-Vision/common-app-components/contents/{+path}","compare_url":"https://api.github.com/repos/Rise-Vision/common-app-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rise-Vision/common-app-components/merges","archive_url":"https://api.github.com/repos/Rise-Vision/common-app-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rise-Vision/common-app-components/downloads","issues_url":"https://api.github.com/repos/Rise-Vision/common-app-components/issues{/number}","pulls_url":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls{/number}","milestones_url":"https://api.github.com/repos/Rise-Vision/common-app-components/milestones{/number}","notifications_url":"https://api.github.com/repos/Rise-Vision/common-app-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rise-Vision/common-app-components/labels{/name}","releases_url":"https://api.github.com/repos/Rise-Vision/common-app-components/releases{/id}","deployments_url":"https://api.github.com/repos/Rise-Vision/common-app-components/deployments","created_at":"2015-02-04T19:51:41Z","updated_at":"2016-02-03T19:07:58Z","pushed_at":"2016-02-16T15:41:43Z","git_url":"git://github.com/Rise-Vision/common-app-components.git","ssh_url":"git@github.com:Rise-Vision/common-app-components.git","clone_url":"https://github.com/Rise-Vision/common-app-components.git","svn_url":"https://github.com/Rise-Vision/common-app-components","homepage":null,"size":206,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/49"},"html":{"href":"https://github.com/Rise-Vision/common-app-components/pull/49"},"issue":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/issues/49"},"comments":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/Rise-Vision/common-app-components/statuses/277ded4a4a67fcea705965d1f13734e22de65244"}}}}