{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/apollo-ctp/mathquill/pulls/18","id":45069385,"html_url":"https://github.com/apollo-ctp/mathquill/pull/18","diff_url":"https://github.com/apollo-ctp/mathquill/pull/18.diff","patch_url":"https://github.com/apollo-ctp/mathquill/pull/18.patch","issue_url":"https://api.github.com/repos/apollo-ctp/mathquill/issues/18","number":18,"state":"open","locked":false,"title":"Fix unit tests for selection","user":{"login":"kschaefe","id":366710,"avatar_url":"https://avatars.githubusercontent.com/u/366710?v=3","gravatar_id":"","url":"https://api.github.com/users/kschaefe","html_url":"https://github.com/kschaefe","followers_url":"https://api.github.com/users/kschaefe/followers","following_url":"https://api.github.com/users/kschaefe/following{/other_user}","gists_url":"https://api.github.com/users/kschaefe/gists{/gist_id}","starred_url":"https://api.github.com/users/kschaefe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kschaefe/subscriptions","organizations_url":"https://api.github.com/users/kschaefe/orgs","repos_url":"https://api.github.com/users/kschaefe/repos","events_url":"https://api.github.com/users/kschaefe/events{/privacy}","received_events_url":"https://api.github.com/users/kschaefe/received_events","type":"User","site_admin":false},"body":"The strictOperator selection pieces require that Cursor have a valid\r\noptions.  This simply means that we have to pass an options object into\r\nthe constructor.  The unit test previously left the constructor empty,\r\nso this is a simple fix.  Also added a prayer for a valid object in\r\nCursor to make it easier to find this type of error in the future.\r\n\r\nSince it does not seem to be the approach of MathQuill to use default\r\nvalues in constructor, this was avoided.  This could have also been\r\nsolved by:\r\nthis.options = options || {};","created_at":"2015-09-15T16:11:05Z","updated_at":"2015-09-15T16:11:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apollo-ctp/mathquill/pulls/18/commits","review_comments_url":"https://api.github.com/repos/apollo-ctp/mathquill/pulls/18/comments","review_comment_url":"https://api.github.com/repos/apollo-ctp/mathquill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apollo-ctp/mathquill/issues/18/comments","statuses_url":"https://api.github.com/repos/apollo-ctp/mathquill/statuses/5e999aee3b809dbc05e51e2f6094fc402353a769","head":{"label":"kschaefe:dev","ref":"dev","sha":"5e999aee3b809dbc05e51e2f6094fc402353a769","user":{"login":"kschaefe","id":366710,"avatar_url":"https://avatars.githubusercontent.com/u/366710?v=3","gravatar_id":"","url":"https://api.github.com/users/kschaefe","html_url":"https://github.com/kschaefe","followers_url":"https://api.github.com/users/kschaefe/followers","following_url":"https://api.github.com/users/kschaefe/following{/other_user}","gists_url":"https://api.github.com/users/kschaefe/gists{/gist_id}","starred_url":"https://api.github.com/users/kschaefe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kschaefe/subscriptions","organizations_url":"https://api.github.com/users/kschaefe/orgs","repos_url":"https://api.github.com/users/kschaefe/repos","events_url":"https://api.github.com/users/kschaefe/events{/privacy}","received_events_url":"https://api.github.com/users/kschaefe/received_events","type":"User","site_admin":false},"repo":{"id":27445766,"name":"mathquill","full_name":"kschaefe/mathquill","owner":{"login":"kschaefe","id":366710,"avatar_url":"https://avatars.githubusercontent.com/u/366710?v=3","gravatar_id":"","url":"https://api.github.com/users/kschaefe","html_url":"https://github.com/kschaefe","followers_url":"https://api.github.com/users/kschaefe/followers","following_url":"https://api.github.com/users/kschaefe/following{/other_user}","gists_url":"https://api.github.com/users/kschaefe/gists{/gist_id}","starred_url":"https://api.github.com/users/kschaefe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kschaefe/subscriptions","organizations_url":"https://api.github.com/users/kschaefe/orgs","repos_url":"https://api.github.com/users/kschaefe/repos","events_url":"https://api.github.com/users/kschaefe/events{/privacy}","received_events_url":"https://api.github.com/users/kschaefe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kschaefe/mathquill","description":"Magic textboxes where you can type math as easily as writing!","fork":true,"url":"https://api.github.com/repos/kschaefe/mathquill","forks_url":"https://api.github.com/repos/kschaefe/mathquill/forks","keys_url":"https://api.github.com/repos/kschaefe/mathquill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kschaefe/mathquill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kschaefe/mathquill/teams","hooks_url":"https://api.github.com/repos/kschaefe/mathquill/hooks","issue_events_url":"https://api.github.com/repos/kschaefe/mathquill/issues/events{/number}","events_url":"https://api.github.com/repos/kschaefe/mathquill/events","assignees_url":"https://api.github.com/repos/kschaefe/mathquill/assignees{/user}","branches_url":"https://api.github.com/repos/kschaefe/mathquill/branches{/branch}","tags_url":"https://api.github.com/repos/kschaefe/mathquill/tags","blobs_url":"https://api.github.com/repos/kschaefe/mathquill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kschaefe/mathquill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kschaefe/mathquill/git/refs{/sha}","trees_url":"https://api.github.com/repos/kschaefe/mathquill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kschaefe/mathquill/statuses/{sha}","languages_url":"https://api.github.com/repos/kschaefe/mathquill/languages","stargazers_url":"https://api.github.com/repos/kschaefe/mathquill/stargazers","contributors_url":"https://api.github.com/repos/kschaefe/mathquill/contributors","subscribers_url":"https://api.github.com/repos/kschaefe/mathquill/subscribers","subscription_url":"https://api.github.com/repos/kschaefe/mathquill/subscription","commits_url":"https://api.github.com/repos/kschaefe/mathquill/commits{/sha}","git_commits_url":"https://api.github.com/repos/kschaefe/mathquill/git/commits{/sha}","comments_url":"https://api.github.com/repos/kschaefe/mathquill/comments{/number}","issue_comment_url":"https://api.github.com/repos/kschaefe/mathquill/issues/comments{/number}","contents_url":"https://api.github.com/repos/kschaefe/mathquill/contents/{+path}","compare_url":"https://api.github.com/repos/kschaefe/mathquill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kschaefe/mathquill/merges","archive_url":"https://api.github.com/repos/kschaefe/mathquill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kschaefe/mathquill/downloads","issues_url":"https://api.github.com/repos/kschaefe/mathquill/issues{/number}","pulls_url":"https://api.github.com/repos/kschaefe/mathquill/pulls{/number}","milestones_url":"https://api.github.com/repos/kschaefe/mathquill/milestones{/number}","notifications_url":"https://api.github.com/repos/kschaefe/mathquill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kschaefe/mathquill/labels{/name}","releases_url":"https://api.github.com/repos/kschaefe/mathquill/releases{/id}","created_at":"2014-12-02T18:01:31Z","updated_at":"2015-04-01T15:55:33Z","pushed_at":"2015-09-15T16:09:55Z","git_url":"git://github.com/kschaefe/mathquill.git","ssh_url":"git@github.com:kschaefe/mathquill.git","clone_url":"https://github.com/kschaefe/mathquill.git","svn_url":"https://github.com/kschaefe/mathquill","homepage":"mathquill.com","size":13550,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"apollo-ctp:dev","ref":"dev","sha":"9a866532f7fec20dbc4f943008df282a52b95b9f","user":{"login":"apollo-ctp","id":10032117,"avatar_url":"https://avatars.githubusercontent.com/u/10032117?v=3","gravatar_id":"","url":"https://api.github.com/users/apollo-ctp","html_url":"https://github.com/apollo-ctp","followers_url":"https://api.github.com/users/apollo-ctp/followers","following_url":"https://api.github.com/users/apollo-ctp/following{/other_user}","gists_url":"https://api.github.com/users/apollo-ctp/gists{/gist_id}","starred_url":"https://api.github.com/users/apollo-ctp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollo-ctp/subscriptions","organizations_url":"https://api.github.com/users/apollo-ctp/orgs","repos_url":"https://api.github.com/users/apollo-ctp/repos","events_url":"https://api.github.com/users/apollo-ctp/events{/privacy}","received_events_url":"https://api.github.com/users/apollo-ctp/received_events","type":"Organization","site_admin":false},"repo":{"id":25310981,"name":"mathquill","full_name":"apollo-ctp/mathquill","owner":{"login":"apollo-ctp","id":10032117,"avatar_url":"https://avatars.githubusercontent.com/u/10032117?v=3","gravatar_id":"","url":"https://api.github.com/users/apollo-ctp","html_url":"https://github.com/apollo-ctp","followers_url":"https://api.github.com/users/apollo-ctp/followers","following_url":"https://api.github.com/users/apollo-ctp/following{/other_user}","gists_url":"https://api.github.com/users/apollo-ctp/gists{/gist_id}","starred_url":"https://api.github.com/users/apollo-ctp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apollo-ctp/subscriptions","organizations_url":"https://api.github.com/users/apollo-ctp/orgs","repos_url":"https://api.github.com/users/apollo-ctp/repos","events_url":"https://api.github.com/users/apollo-ctp/events{/privacy}","received_events_url":"https://api.github.com/users/apollo-ctp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apollo-ctp/mathquill","description":"Magic textboxes where you can type math as easily as writing!","fork":true,"url":"https://api.github.com/repos/apollo-ctp/mathquill","forks_url":"https://api.github.com/repos/apollo-ctp/mathquill/forks","keys_url":"https://api.github.com/repos/apollo-ctp/mathquill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apollo-ctp/mathquill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apollo-ctp/mathquill/teams","hooks_url":"https://api.github.com/repos/apollo-ctp/mathquill/hooks","issue_events_url":"https://api.github.com/repos/apollo-ctp/mathquill/issues/events{/number}","events_url":"https://api.github.com/repos/apollo-ctp/mathquill/events","assignees_url":"https://api.github.com/repos/apollo-ctp/mathquill/assignees{/user}","branches_url":"https://api.github.com/repos/apollo-ctp/mathquill/branches{/branch}","tags_url":"https://api.github.com/repos/apollo-ctp/mathquill/tags","blobs_url":"https://api.github.com/repos/apollo-ctp/mathquill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apollo-ctp/mathquill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apollo-ctp/mathquill/git/refs{/sha}","trees_url":"https://api.github.com/repos/apollo-ctp/mathquill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apollo-ctp/mathquill/statuses/{sha}","languages_url":"https://api.github.com/repos/apollo-ctp/mathquill/languages","stargazers_url":"https://api.github.com/repos/apollo-ctp/mathquill/stargazers","contributors_url":"https://api.github.com/repos/apollo-ctp/mathquill/contributors","subscribers_url":"https://api.github.com/repos/apollo-ctp/mathquill/subscribers","subscription_url":"https://api.github.com/repos/apollo-ctp/mathquill/subscription","commits_url":"https://api.github.com/repos/apollo-ctp/mathquill/commits{/sha}","git_commits_url":"https://api.github.com/repos/apollo-ctp/mathquill/git/commits{/sha}","comments_url":"https://api.github.com/repos/apollo-ctp/mathquill/comments{/number}","issue_comment_url":"https://api.github.com/repos/apollo-ctp/mathquill/issues/comments{/number}","contents_url":"https://api.github.com/repos/apollo-ctp/mathquill/contents/{+path}","compare_url":"https://api.github.com/repos/apollo-ctp/mathquill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apollo-ctp/mathquill/merges","archive_url":"https://api.github.com/repos/apollo-ctp/mathquill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apollo-ctp/mathquill/downloads","issues_url":"https://api.github.com/repos/apollo-ctp/mathquill/issues{/number}","pulls_url":"https://api.github.com/repos/apollo-ctp/mathquill/pulls{/number}","milestones_url":"https://api.github.com/repos/apollo-ctp/mathquill/milestones{/number}","notifications_url":"https://api.github.com/repos/apollo-ctp/mathquill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apollo-ctp/mathquill/labels{/name}","releases_url":"https://api.github.com/repos/apollo-ctp/mathquill/releases{/id}","created_at":"2014-10-16T16:26:14Z","updated_at":"2015-04-17T17:25:07Z","pushed_at":"2015-09-15T16:11:05Z","git_url":"git://github.com/apollo-ctp/mathquill.git","ssh_url":"git@github.com:apollo-ctp/mathquill.git","clone_url":"https://github.com/apollo-ctp/mathquill.git","svn_url":"https://github.com/apollo-ctp/mathquill","homepage":"mathquill.com","size":13953,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/apollo-ctp/mathquill/pulls/18"},"html":{"href":"https://github.com/apollo-ctp/mathquill/pull/18"},"issue":{"href":"https://api.github.com/repos/apollo-ctp/mathquill/issues/18"},"comments":{"href":"https://api.github.com/repos/apollo-ctp/mathquill/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/apollo-ctp/mathquill/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/apollo-ctp/mathquill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apollo-ctp/mathquill/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/apollo-ctp/mathquill/statuses/5e999aee3b809dbc05e51e2f6094fc402353a769"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":3,"changed_files":2}}