{"action":"created","comment":{"url":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/comments/68960801","id":68960801,"diff_hunk":"@@ -181,18 +181,28 @@ app.directive 'bbDebounce', ($timeout) ->\n # bbLocalNumber\n # Adds a formatter that prepends the model value with zero. This is useful for\n # nicely formatting numbers where the prefix has been stripped, i.e. '7875123456'\n-app.directive 'bbLocalNumber', () ->\n+# Adds a parser to store user entered value and use this in the formatter\n+app.directive 'bbLocalNumber', ($filter) ->\n   restrict: 'A',\n   require: 'ngModel',\n   link: (scope, element, attrs, ctrl) ->\n \n+    userinput_mobile = scope.client.mobile","path":"src/core/javascripts/directives/helpers.js.coffee","position":29,"original_position":29,"commit_id":"73363ec82e55b291ab02e6cf727153a2c3bfd45f","original_commit_id":"73363ec82e55b291ab02e6cf727153a2c3bfd45f","user":{"login":"Joensg","id":13179651,"avatar_url":"https://avatars.githubusercontent.com/u/13179651?v=3","gravatar_id":"","url":"https://api.github.com/users/Joensg","html_url":"https://github.com/Joensg","followers_url":"https://api.github.com/users/Joensg/followers","following_url":"https://api.github.com/users/Joensg/following{/other_user}","gists_url":"https://api.github.com/users/Joensg/gists{/gist_id}","starred_url":"https://api.github.com/users/Joensg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joensg/subscriptions","organizations_url":"https://api.github.com/users/Joensg/orgs","repos_url":"https://api.github.com/users/Joensg/repos","events_url":"https://api.github.com/users/Joensg/events{/privacy}","received_events_url":"https://api.github.com/users/Joensg/received_events","type":"User","site_admin":false},"body":"I just needed the userinput_mobile to be defined and set to something. Otherwise the parser was giving an error. It works if I set it to zero.","created_at":"2016-06-29T14:53:31Z","updated_at":"2016-06-29T14:53:31Z","html_url":"https://github.com/BookingBug/bookingbug-angular/pull/327#discussion_r68960801","pull_request_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/327","_links":{"self":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/comments/68960801"},"html":{"href":"https://github.com/BookingBug/bookingbug-angular/pull/327#discussion_r68960801"},"pull_request":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/327"}}},"pull_request":{"url":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/327","id":75469437,"html_url":"https://github.com/BookingBug/bookingbug-angular/pull/327","diff_url":"https://github.com/BookingBug/bookingbug-angular/pull/327.diff","patch_url":"https://github.com/BookingBug/bookingbug-angular/pull/327.patch","issue_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues/327","number":327,"state":"open","locked":false,"title":"fix for calendar breaking on ee-digital","user":{"login":"Joensg","id":13179651,"avatar_url":"https://avatars.githubusercontent.com/u/13179651?v=3","gravatar_id":"","url":"https://api.github.com/users/Joensg","html_url":"https://github.com/Joensg","followers_url":"https://api.github.com/users/Joensg/followers","following_url":"https://api.github.com/users/Joensg/following{/other_user}","gists_url":"https://api.github.com/users/Joensg/gists{/gist_id}","starred_url":"https://api.github.com/users/Joensg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joensg/subscriptions","organizations_url":"https://api.github.com/users/Joensg/orgs","repos_url":"https://api.github.com/users/Joensg/repos","events_url":"https://api.github.com/users/Joensg/events{/privacy}","received_events_url":"https://api.github.com/users/Joensg/received_events","type":"User","site_admin":false},"body":"Also please see https://github.com/BookingBug/bookingbug-angular-bespoke/pull/187","created_at":"2016-06-28T12:37:31Z","updated_at":"2016-06-29T14:53:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a77738fc66394b141cf4160a1b87a1faae58b2d","assignee":{"login":"lukeferguson","id":3207998,"avatar_url":"https://avatars.githubusercontent.com/u/3207998?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeferguson","html_url":"https://github.com/lukeferguson","followers_url":"https://api.github.com/users/lukeferguson/followers","following_url":"https://api.github.com/users/lukeferguson/following{/other_user}","gists_url":"https://api.github.com/users/lukeferguson/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeferguson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeferguson/subscriptions","organizations_url":"https://api.github.com/users/lukeferguson/orgs","repos_url":"https://api.github.com/users/lukeferguson/repos","events_url":"https://api.github.com/users/lukeferguson/events{/privacy}","received_events_url":"https://api.github.com/users/lukeferguson/received_events","type":"User","site_admin":false},"assignees":[{"login":"lukeferguson","id":3207998,"avatar_url":"https://avatars.githubusercontent.com/u/3207998?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeferguson","html_url":"https://github.com/lukeferguson","followers_url":"https://api.github.com/users/lukeferguson/followers","following_url":"https://api.github.com/users/lukeferguson/following{/other_user}","gists_url":"https://api.github.com/users/lukeferguson/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeferguson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeferguson/subscriptions","organizations_url":"https://api.github.com/users/lukeferguson/orgs","repos_url":"https://api.github.com/users/lukeferguson/repos","events_url":"https://api.github.com/users/lukeferguson/events{/privacy}","received_events_url":"https://api.github.com/users/lukeferguson/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/327/commits","review_comments_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/327/comments","review_comment_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues/327/comments","statuses_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/statuses/73363ec82e55b291ab02e6cf727153a2c3bfd45f","head":{"label":"BookingBug:ee_digitalfix","ref":"ee_digitalfix","sha":"73363ec82e55b291ab02e6cf727153a2c3bfd45f","user":{"login":"BookingBug","id":3448714,"avatar_url":"https://avatars.githubusercontent.com/u/3448714?v=3","gravatar_id":"","url":"https://api.github.com/users/BookingBug","html_url":"https://github.com/BookingBug","followers_url":"https://api.github.com/users/BookingBug/followers","following_url":"https://api.github.com/users/BookingBug/following{/other_user}","gists_url":"https://api.github.com/users/BookingBug/gists{/gist_id}","starred_url":"https://api.github.com/users/BookingBug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookingBug/subscriptions","organizations_url":"https://api.github.com/users/BookingBug/orgs","repos_url":"https://api.github.com/users/BookingBug/repos","events_url":"https://api.github.com/users/BookingBug/events{/privacy}","received_events_url":"https://api.github.com/users/BookingBug/received_events","type":"Organization","site_admin":false},"repo":{"id":26970115,"name":"bookingbug-angular","full_name":"BookingBug/bookingbug-angular","owner":{"login":"BookingBug","id":3448714,"avatar_url":"https://avatars.githubusercontent.com/u/3448714?v=3","gravatar_id":"","url":"https://api.github.com/users/BookingBug","html_url":"https://github.com/BookingBug","followers_url":"https://api.github.com/users/BookingBug/followers","following_url":"https://api.github.com/users/BookingBug/following{/other_user}","gists_url":"https://api.github.com/users/BookingBug/gists{/gist_id}","starred_url":"https://api.github.com/users/BookingBug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookingBug/subscriptions","organizations_url":"https://api.github.com/users/BookingBug/orgs","repos_url":"https://api.github.com/users/BookingBug/repos","events_url":"https://api.github.com/users/BookingBug/events{/privacy}","received_events_url":"https://api.github.com/users/BookingBug/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BookingBug/bookingbug-angular","description":"BookingBug AngularJS SDK","fork":false,"url":"https://api.github.com/repos/BookingBug/bookingbug-angular","forks_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/forks","keys_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/teams","hooks_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/hooks","issue_events_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues/events{/number}","events_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/events","assignees_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/assignees{/user}","branches_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/branches{/branch}","tags_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/tags","blobs_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/languages","stargazers_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/stargazers","contributors_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/contributors","subscribers_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/subscribers","subscription_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/subscription","commits_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/contents/{+path}","compare_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/merges","archive_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/downloads","issues_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues{/number}","pulls_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/labels{/name}","releases_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/releases{/id}","deployments_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/deployments","created_at":"2014-11-21T17:24:49Z","updated_at":"2016-06-09T08:17:24Z","pushed_at":"2016-06-29T14:35:32Z","git_url":"git://github.com/BookingBug/bookingbug-angular.git","ssh_url":"git@github.com:BookingBug/bookingbug-angular.git","clone_url":"https://github.com/BookingBug/bookingbug-angular.git","svn_url":"https://github.com/BookingBug/bookingbug-angular","homepage":null,"size":10331,"stargazers_count":8,"watchers_count":8,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":8,"default_branch":"master"}},"base":{"label":"BookingBug:master","ref":"master","sha":"a0b05bd151f5ee2a53c36b7ede9a116c1a3f5631","user":{"login":"BookingBug","id":3448714,"avatar_url":"https://avatars.githubusercontent.com/u/3448714?v=3","gravatar_id":"","url":"https://api.github.com/users/BookingBug","html_url":"https://github.com/BookingBug","followers_url":"https://api.github.com/users/BookingBug/followers","following_url":"https://api.github.com/users/BookingBug/following{/other_user}","gists_url":"https://api.github.com/users/BookingBug/gists{/gist_id}","starred_url":"https://api.github.com/users/BookingBug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookingBug/subscriptions","organizations_url":"https://api.github.com/users/BookingBug/orgs","repos_url":"https://api.github.com/users/BookingBug/repos","events_url":"https://api.github.com/users/BookingBug/events{/privacy}","received_events_url":"https://api.github.com/users/BookingBug/received_events","type":"Organization","site_admin":false},"repo":{"id":26970115,"name":"bookingbug-angular","full_name":"BookingBug/bookingbug-angular","owner":{"login":"BookingBug","id":3448714,"avatar_url":"https://avatars.githubusercontent.com/u/3448714?v=3","gravatar_id":"","url":"https://api.github.com/users/BookingBug","html_url":"https://github.com/BookingBug","followers_url":"https://api.github.com/users/BookingBug/followers","following_url":"https://api.github.com/users/BookingBug/following{/other_user}","gists_url":"https://api.github.com/users/BookingBug/gists{/gist_id}","starred_url":"https://api.github.com/users/BookingBug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookingBug/subscriptions","organizations_url":"https://api.github.com/users/BookingBug/orgs","repos_url":"https://api.github.com/users/BookingBug/repos","events_url":"https://api.github.com/users/BookingBug/events{/privacy}","received_events_url":"https://api.github.com/users/BookingBug/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BookingBug/bookingbug-angular","description":"BookingBug AngularJS SDK","fork":false,"url":"https://api.github.com/repos/BookingBug/bookingbug-angular","forks_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/forks","keys_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/teams","hooks_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/hooks","issue_events_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues/events{/number}","events_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/events","assignees_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/assignees{/user}","branches_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/branches{/branch}","tags_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/tags","blobs_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/languages","stargazers_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/stargazers","contributors_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/contributors","subscribers_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/subscribers","subscription_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/subscription","commits_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/contents/{+path}","compare_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/merges","archive_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/downloads","issues_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues{/number}","pulls_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/labels{/name}","releases_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/releases{/id}","deployments_url":"https://api.github.com/repos/BookingBug/bookingbug-angular/deployments","created_at":"2014-11-21T17:24:49Z","updated_at":"2016-06-09T08:17:24Z","pushed_at":"2016-06-29T14:35:32Z","git_url":"git://github.com/BookingBug/bookingbug-angular.git","ssh_url":"git@github.com:BookingBug/bookingbug-angular.git","clone_url":"https://github.com/BookingBug/bookingbug-angular.git","svn_url":"https://github.com/BookingBug/bookingbug-angular","homepage":null,"size":10331,"stargazers_count":8,"watchers_count":8,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/327"},"html":{"href":"https://github.com/BookingBug/bookingbug-angular/pull/327"},"issue":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues/327"},"comments":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/issues/327/comments"},"review_comments":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/327/comments"},"review_comment":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/pulls/327/commits"},"statuses":{"href":"https://api.github.com/repos/BookingBug/bookingbug-angular/statuses/73363ec82e55b291ab02e6cf727153a2c3bfd45f"}}}}
{"actor":{"display_login":"Joensg"}}