{"action":"created","comment":{"url":"https://api.github.com/repos/jquery/jquery-ui/pulls/comments/31435347","id":31435347,"diff_hunk":"@@ -160,6 +161,41 @@ return $.widget( \"ui.slider\", $.ui.mouse, {\n \t\t}\n \t},\n \n+\t_cleanValues: function( index, newValue ) {\n+\t\tvar values;\n+\n+\t\tif ( this.options.range === true ){\n+\t\t\tif ( arguments.length === 2 ) {\n+\t\t\t\tvalues = this.options.values;\n+\t\t\t\tif ( index === 0 && newValue > values[ 1 ] ) {\n+\t\t\t\t\tnewValue = values[ 1 ];\n+\t\t\t\t}else if ( index === 1 && newValue < values[ 0 ] ) {","path":"ui/slider.js","position":20,"original_position":20,"commit_id":"b65c3bb0013199a9a1c52981661968fb1d69ff36","original_commit_id":"b65c3bb0013199a9a1c52981661968fb1d69ff36","user":{"login":"scottgonzalez","id":141167,"avatar_url":"https://avatars.githubusercontent.com/u/141167?v=3","gravatar_id":"","url":"https://api.github.com/users/scottgonzalez","html_url":"https://github.com/scottgonzalez","followers_url":"https://api.github.com/users/scottgonzalez/followers","following_url":"https://api.github.com/users/scottgonzalez/following{/other_user}","gists_url":"https://api.github.com/users/scottgonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/scottgonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottgonzalez/subscriptions","organizations_url":"https://api.github.com/users/scottgonzalez/orgs","repos_url":"https://api.github.com/users/scottgonzalez/repos","events_url":"https://api.github.com/users/scottgonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/scottgonzalez/received_events","type":"User","site_admin":false},"body":"bad spacing","created_at":"2015-06-01T15:17:38Z","updated_at":"2015-06-01T15:17:38Z","html_url":"https://github.com/jquery/jquery-ui/pull/1479#discussion_r31435347","pull_request_url":"https://api.github.com/repos/jquery/jquery-ui/pulls/1479","_links":{"self":{"href":"https://api.github.com/repos/jquery/jquery-ui/pulls/comments/31435347"},"html":{"href":"https://github.com/jquery/jquery-ui/pull/1479#discussion_r31435347"},"pull_request":{"href":"https://api.github.com/repos/jquery/jquery-ui/pulls/1479"}}},"pull_request":{"url":"https://api.github.com/repos/jquery/jquery-ui/pulls/1479","id":30820134,"html_url":"https://github.com/jquery/jquery-ui/pull/1479","diff_url":"https://github.com/jquery/jquery-ui/pull/1479.diff","patch_url":"https://github.com/jquery/jquery-ui/pull/1479.patch","issue_url":"https://api.github.com/repos/jquery/jquery-ui/issues/1479","number":1479,"state":"open","locked":false,"title":"Slider: Fix to restrict handle values when set programmatically.","user":{"login":"dekajp","id":1100608,"avatar_url":"https://avatars.githubusercontent.com/u/1100608?v=3","gravatar_id":"","url":"https://api.github.com/users/dekajp","html_url":"https://github.com/dekajp","followers_url":"https://api.github.com/users/dekajp/followers","following_url":"https://api.github.com/users/dekajp/following{/other_user}","gists_url":"https://api.github.com/users/dekajp/gists{/gist_id}","starred_url":"https://api.github.com/users/dekajp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dekajp/subscriptions","organizations_url":"https://api.github.com/users/dekajp/orgs","repos_url":"https://api.github.com/users/dekajp/repos","events_url":"https://api.github.com/users/dekajp/events{/privacy}","received_events_url":"https://api.github.com/users/dekajp/received_events","type":"User","site_admin":false},"body":"Fixes #3762 - Slider: handles not restricted properly when set programmatically","created_at":"2015-03-10T03:29:08Z","updated_at":"2015-06-01T15:17:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0740788d351c5b9701611d0197a0cb053bd4296a","assignee":null,"milestone":{"url":"https://api.github.com/repos/jquery/jquery-ui/milestones/2","html_url":"https://github.com/jquery/jquery-ui/milestones/land-before-esformatter","labels_url":"https://api.github.com/repos/jquery/jquery-ui/milestones/2/labels","id":1020765,"number":2,"title":"land-before-esformatter","description":"","creator":{"login":"jzaefferer","id":52585,"avatar_url":"https://avatars.githubusercontent.com/u/52585?v=3","gravatar_id":"","url":"https://api.github.com/users/jzaefferer","html_url":"https://github.com/jzaefferer","followers_url":"https://api.github.com/users/jzaefferer/followers","following_url":"https://api.github.com/users/jzaefferer/following{/other_user}","gists_url":"https://api.github.com/users/jzaefferer/gists{/gist_id}","starred_url":"https://api.github.com/users/jzaefferer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzaefferer/subscriptions","organizations_url":"https://api.github.com/users/jzaefferer/orgs","repos_url":"https://api.github.com/users/jzaefferer/repos","events_url":"https://api.github.com/users/jzaefferer/events{/privacy}","received_events_url":"https://api.github.com/users/jzaefferer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-03-13T18:19:04Z","updated_at":"2015-03-25T16:31:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/jquery/jquery-ui/pulls/1479/commits","review_comments_url":"https://api.github.com/repos/jquery/jquery-ui/pulls/1479/comments","review_comment_url":"https://api.github.com/repos/jquery/jquery-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jquery/jquery-ui/issues/1479/comments","statuses_url":"https://api.github.com/repos/jquery/jquery-ui/statuses/b65c3bb0013199a9a1c52981661968fb1d69ff36","head":{"label":"dekajp:ticket_3762_V2","ref":"ticket_3762_V2","sha":"b65c3bb0013199a9a1c52981661968fb1d69ff36","user":{"login":"dekajp","id":1100608,"avatar_url":"https://avatars.githubusercontent.com/u/1100608?v=3","gravatar_id":"","url":"https://api.github.com/users/dekajp","html_url":"https://github.com/dekajp","followers_url":"https://api.github.com/users/dekajp/followers","following_url":"https://api.github.com/users/dekajp/following{/other_user}","gists_url":"https://api.github.com/users/dekajp/gists{/gist_id}","starred_url":"https://api.github.com/users/dekajp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dekajp/subscriptions","organizations_url":"https://api.github.com/users/dekajp/orgs","repos_url":"https://api.github.com/users/dekajp/repos","events_url":"https://api.github.com/users/dekajp/events{/privacy}","received_events_url":"https://api.github.com/users/dekajp/received_events","type":"User","site_admin":false},"repo":{"id":10835025,"name":"jquery-ui","full_name":"dekajp/jquery-ui","owner":{"login":"dekajp","id":1100608,"avatar_url":"https://avatars.githubusercontent.com/u/1100608?v=3","gravatar_id":"","url":"https://api.github.com/users/dekajp","html_url":"https://github.com/dekajp","followers_url":"https://api.github.com/users/dekajp/followers","following_url":"https://api.github.com/users/dekajp/following{/other_user}","gists_url":"https://api.github.com/users/dekajp/gists{/gist_id}","starred_url":"https://api.github.com/users/dekajp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dekajp/subscriptions","organizations_url":"https://api.github.com/users/dekajp/orgs","repos_url":"https://api.github.com/users/dekajp/repos","events_url":"https://api.github.com/users/dekajp/events{/privacy}","received_events_url":"https://api.github.com/users/dekajp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dekajp/jquery-ui","description":"The official jQuery user interface library.","fork":true,"url":"https://api.github.com/repos/dekajp/jquery-ui","forks_url":"https://api.github.com/repos/dekajp/jquery-ui/forks","keys_url":"https://api.github.com/repos/dekajp/jquery-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dekajp/jquery-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dekajp/jquery-ui/teams","hooks_url":"https://api.github.com/repos/dekajp/jquery-ui/hooks","issue_events_url":"https://api.github.com/repos/dekajp/jquery-ui/issues/events{/number}","events_url":"https://api.github.com/repos/dekajp/jquery-ui/events","assignees_url":"https://api.github.com/repos/dekajp/jquery-ui/assignees{/user}","branches_url":"https://api.github.com/repos/dekajp/jquery-ui/branches{/branch}","tags_url":"https://api.github.com/repos/dekajp/jquery-ui/tags","blobs_url":"https://api.github.com/repos/dekajp/jquery-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dekajp/jquery-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dekajp/jquery-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/dekajp/jquery-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dekajp/jquery-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/dekajp/jquery-ui/languages","stargazers_url":"https://api.github.com/repos/dekajp/jquery-ui/stargazers","contributors_url":"https://api.github.com/repos/dekajp/jquery-ui/contributors","subscribers_url":"https://api.github.com/repos/dekajp/jquery-ui/subscribers","subscription_url":"https://api.github.com/repos/dekajp/jquery-ui/subscription","commits_url":"https://api.github.com/repos/dekajp/jquery-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/dekajp/jquery-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/dekajp/jquery-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/dekajp/jquery-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/dekajp/jquery-ui/contents/{+path}","compare_url":"https://api.github.com/repos/dekajp/jquery-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dekajp/jquery-ui/merges","archive_url":"https://api.github.com/repos/dekajp/jquery-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dekajp/jquery-ui/downloads","issues_url":"https://api.github.com/repos/dekajp/jquery-ui/issues{/number}","pulls_url":"https://api.github.com/repos/dekajp/jquery-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/dekajp/jquery-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/dekajp/jquery-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dekajp/jquery-ui/labels{/name}","releases_url":"https://api.github.com/repos/dekajp/jquery-ui/releases{/id}","created_at":"2013-06-21T04:03:56Z","updated_at":"2015-04-17T10:22:15Z","pushed_at":"2015-05-09T04:27:31Z","git_url":"git://github.com/dekajp/jquery-ui.git","ssh_url":"git@github.com:dekajp/jquery-ui.git","clone_url":"https://github.com/dekajp/jquery-ui.git","svn_url":"https://github.com/dekajp/jquery-ui","homepage":"http://jqueryui.com/","size":25770,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"jquery:master","ref":"master","sha":"1ee8e230bdc6036bec1e28573c67e2e9ca67252c","user":{"login":"jquery","id":70142,"avatar_url":"https://avatars.githubusercontent.com/u/70142?v=3","gravatar_id":"","url":"https://api.github.com/users/jquery","html_url":"https://github.com/jquery","followers_url":"https://api.github.com/users/jquery/followers","following_url":"https://api.github.com/users/jquery/following{/other_user}","gists_url":"https://api.github.com/users/jquery/gists{/gist_id}","starred_url":"https://api.github.com/users/jquery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jquery/subscriptions","organizations_url":"https://api.github.com/users/jquery/orgs","repos_url":"https://api.github.com/users/jquery/repos","events_url":"https://api.github.com/users/jquery/events{/privacy}","received_events_url":"https://api.github.com/users/jquery/received_events","type":"Organization","site_admin":false},"repo":{"id":478996,"name":"jquery-ui","full_name":"jquery/jquery-ui","owner":{"login":"jquery","id":70142,"avatar_url":"https://avatars.githubusercontent.com/u/70142?v=3","gravatar_id":"","url":"https://api.github.com/users/jquery","html_url":"https://github.com/jquery","followers_url":"https://api.github.com/users/jquery/followers","following_url":"https://api.github.com/users/jquery/following{/other_user}","gists_url":"https://api.github.com/users/jquery/gists{/gist_id}","starred_url":"https://api.github.com/users/jquery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jquery/subscriptions","organizations_url":"https://api.github.com/users/jquery/orgs","repos_url":"https://api.github.com/users/jquery/repos","events_url":"https://api.github.com/users/jquery/events{/privacy}","received_events_url":"https://api.github.com/users/jquery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jquery/jquery-ui","description":"The official jQuery user interface library.","fork":false,"url":"https://api.github.com/repos/jquery/jquery-ui","forks_url":"https://api.github.com/repos/jquery/jquery-ui/forks","keys_url":"https://api.github.com/repos/jquery/jquery-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jquery/jquery-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jquery/jquery-ui/teams","hooks_url":"https://api.github.com/repos/jquery/jquery-ui/hooks","issue_events_url":"https://api.github.com/repos/jquery/jquery-ui/issues/events{/number}","events_url":"https://api.github.com/repos/jquery/jquery-ui/events","assignees_url":"https://api.github.com/repos/jquery/jquery-ui/assignees{/user}","branches_url":"https://api.github.com/repos/jquery/jquery-ui/branches{/branch}","tags_url":"https://api.github.com/repos/jquery/jquery-ui/tags","blobs_url":"https://api.github.com/repos/jquery/jquery-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jquery/jquery-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jquery/jquery-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/jquery/jquery-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jquery/jquery-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/jquery/jquery-ui/languages","stargazers_url":"https://api.github.com/repos/jquery/jquery-ui/stargazers","contributors_url":"https://api.github.com/repos/jquery/jquery-ui/contributors","subscribers_url":"https://api.github.com/repos/jquery/jquery-ui/subscribers","subscription_url":"https://api.github.com/repos/jquery/jquery-ui/subscription","commits_url":"https://api.github.com/repos/jquery/jquery-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/jquery/jquery-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/jquery/jquery-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/jquery/jquery-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/jquery/jquery-ui/contents/{+path}","compare_url":"https://api.github.com/repos/jquery/jquery-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jquery/jquery-ui/merges","archive_url":"https://api.github.com/repos/jquery/jquery-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jquery/jquery-ui/downloads","issues_url":"https://api.github.com/repos/jquery/jquery-ui/issues{/number}","pulls_url":"https://api.github.com/repos/jquery/jquery-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/jquery/jquery-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/jquery/jquery-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jquery/jquery-ui/labels{/name}","releases_url":"https://api.github.com/repos/jquery/jquery-ui/releases{/id}","created_at":"2010-01-19T14:40:34Z","updated_at":"2015-06-01T13:52:45Z","pushed_at":"2015-05-25T14:25:12Z","git_url":"git://github.com/jquery/jquery-ui.git","ssh_url":"git@github.com:jquery/jquery-ui.git","clone_url":"https://github.com/jquery/jquery-ui.git","svn_url":"https://github.com/jquery/jquery-ui","homepage":"http://jqueryui.com/","size":1528521,"stargazers_count":8922,"watchers_count":8922,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3518,"mirror_url":null,"open_issues_count":20,"forks":3518,"open_issues":20,"watchers":8922,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jquery/jquery-ui/pulls/1479"},"html":{"href":"https://github.com/jquery/jquery-ui/pull/1479"},"issue":{"href":"https://api.github.com/repos/jquery/jquery-ui/issues/1479"},"comments":{"href":"https://api.github.com/repos/jquery/jquery-ui/issues/1479/comments"},"review_comments":{"href":"https://api.github.com/repos/jquery/jquery-ui/pulls/1479/comments"},"review_comment":{"href":"https://api.github.com/repos/jquery/jquery-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jquery/jquery-ui/pulls/1479/commits"},"statuses":{"href":"https://api.github.com/repos/jquery/jquery-ui/statuses/b65c3bb0013199a9a1c52981661968fb1d69ff36"}}}}