{"action":"created","comment":{"url":"https://api.github.com/repos/fluid-project/infusion/pulls/comments/81348015","pull_request_review_id":2335061,"id":81348015,"diff_hunk":"@@ -0,0 +1,81 @@\n+/*\n+Copyright 2016 OCAD University\n+\n+Licensed under the Educational Community License (ECL), Version 2.0 or the New\n+BSD license. You may not use this file except in compliance with one these\n+Licenses.\n+\n+You may obtain a copy of the ECL 2.0 License and BSD License at\n+https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt\n+\n+*/\n+\n+/* global fluid, jqUnit */\n+\n+(function () {\n+    \"use strict\";\n+\n+    fluid.registerNamespace(\"fluid.test.conditionalTestUtils\");\n+\n+    // \"platformArg\" is a string to check against navigator.platform\n+\n+    fluid.test.conditionalTestUtils.isPlatform = function (platformArg) {\n+        var detectedPlatform = navigator.platform ? navigator.platform : undefined;","path":"tests/test-core/utils/js/ConditionalTestUtils.js","position":23,"original_position":23,"commit_id":"ac8d7e299a07559fcb5fbd153573ca85f5717a7a","original_commit_id":"ac8d7e299a07559fcb5fbd153573ca85f5717a7a","user":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"body":"Bind to the string you registered in ContextAwareness rather than navigator.platform literally so there's the potential to mock this out","created_at":"2016-09-30T14:21:36Z","updated_at":"2016-09-30T14:21:36Z","html_url":"https://github.com/fluid-project/infusion/pull/757#discussion_r81348015","pull_request_url":"https://api.github.com/repos/fluid-project/infusion/pulls/757","_links":{"self":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/comments/81348015"},"html":{"href":"https://github.com/fluid-project/infusion/pull/757#discussion_r81348015"},"pull_request":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/757"}}},"pull_request":{"url":"https://api.github.com/repos/fluid-project/infusion/pulls/757","id":87377359,"html_url":"https://github.com/fluid-project/infusion/pull/757","diff_url":"https://github.com/fluid-project/infusion/pull/757.diff","patch_url":"https://github.com/fluid-project/infusion/pull/757.patch","issue_url":"https://api.github.com/repos/fluid-project/infusion/issues/757","number":757,"state":"open","locked":false,"title":"Fluid 5973","user":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"body":"@jobara - an initial pass at being able to skip tests (or run alternate tests) based on platform.\r\n\r\nI also took the opportunity to move some conditional test features that were in the `fluid.tests.textToSpeech` namespace into a generalized `fluid.tests.conditionalTestUtils` namespace.","created_at":"2016-09-29T19:25:58Z","updated_at":"2016-09-30T14:21:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d19259eb2cd9d8fd116cf71ff8af54ed9a31c64","assignee":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"assignees":[{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/fluid-project/infusion/milestones/1","html_url":"https://github.com/fluid-project/infusion/milestones/Infusion%202.0%20Release","labels_url":"https://api.github.com/repos/fluid-project/infusion/milestones/1/labels","id":2033190,"number":1,"title":"Infusion 2.0 Release","description":"Pull Requests specific to the Infusion 2.0 release push.","creator":{"login":"jobara","id":556024,"avatar_url":"https://avatars.githubusercontent.com/u/556024?v=3","gravatar_id":"","url":"https://api.github.com/users/jobara","html_url":"https://github.com/jobara","followers_url":"https://api.github.com/users/jobara/followers","following_url":"https://api.github.com/users/jobara/following{/other_user}","gists_url":"https://api.github.com/users/jobara/gists{/gist_id}","starred_url":"https://api.github.com/users/jobara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jobara/subscriptions","organizations_url":"https://api.github.com/users/jobara/orgs","repos_url":"https://api.github.com/users/jobara/repos","events_url":"https://api.github.com/users/jobara/events{/privacy}","received_events_url":"https://api.github.com/users/jobara/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2016-09-27T21:11:18Z","updated_at":"2016-09-30T14:16:30Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/fluid-project/infusion/pulls/757/commits","review_comments_url":"https://api.github.com/repos/fluid-project/infusion/pulls/757/comments","review_comment_url":"https://api.github.com/repos/fluid-project/infusion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fluid-project/infusion/issues/757/comments","statuses_url":"https://api.github.com/repos/fluid-project/infusion/statuses/ac8d7e299a07559fcb5fbd153573ca85f5717a7a","head":{"label":"waharnum:FLUID-5973","ref":"FLUID-5973","sha":"ac8d7e299a07559fcb5fbd153573ca85f5717a7a","user":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"repo":{"id":50447976,"name":"infusion","full_name":"waharnum/infusion","owner":{"login":"waharnum","id":5279051,"avatar_url":"https://avatars.githubusercontent.com/u/5279051?v=3","gravatar_id":"","url":"https://api.github.com/users/waharnum","html_url":"https://github.com/waharnum","followers_url":"https://api.github.com/users/waharnum/followers","following_url":"https://api.github.com/users/waharnum/following{/other_user}","gists_url":"https://api.github.com/users/waharnum/gists{/gist_id}","starred_url":"https://api.github.com/users/waharnum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waharnum/subscriptions","organizations_url":"https://api.github.com/users/waharnum/orgs","repos_url":"https://api.github.com/users/waharnum/repos","events_url":"https://api.github.com/users/waharnum/events{/privacy}","received_events_url":"https://api.github.com/users/waharnum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/waharnum/infusion","description":"Infusion combines JavaScript, CSS, HTML and user-centered design, rolling them all into a single package that sits on top of the popular jQuery toolkit. Infusion includes ready-to-use components as well as a framework to build your own.","fork":true,"url":"https://api.github.com/repos/waharnum/infusion","forks_url":"https://api.github.com/repos/waharnum/infusion/forks","keys_url":"https://api.github.com/repos/waharnum/infusion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waharnum/infusion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waharnum/infusion/teams","hooks_url":"https://api.github.com/repos/waharnum/infusion/hooks","issue_events_url":"https://api.github.com/repos/waharnum/infusion/issues/events{/number}","events_url":"https://api.github.com/repos/waharnum/infusion/events","assignees_url":"https://api.github.com/repos/waharnum/infusion/assignees{/user}","branches_url":"https://api.github.com/repos/waharnum/infusion/branches{/branch}","tags_url":"https://api.github.com/repos/waharnum/infusion/tags","blobs_url":"https://api.github.com/repos/waharnum/infusion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waharnum/infusion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waharnum/infusion/git/refs{/sha}","trees_url":"https://api.github.com/repos/waharnum/infusion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waharnum/infusion/statuses/{sha}","languages_url":"https://api.github.com/repos/waharnum/infusion/languages","stargazers_url":"https://api.github.com/repos/waharnum/infusion/stargazers","contributors_url":"https://api.github.com/repos/waharnum/infusion/contributors","subscribers_url":"https://api.github.com/repos/waharnum/infusion/subscribers","subscription_url":"https://api.github.com/repos/waharnum/infusion/subscription","commits_url":"https://api.github.com/repos/waharnum/infusion/commits{/sha}","git_commits_url":"https://api.github.com/repos/waharnum/infusion/git/commits{/sha}","comments_url":"https://api.github.com/repos/waharnum/infusion/comments{/number}","issue_comment_url":"https://api.github.com/repos/waharnum/infusion/issues/comments{/number}","contents_url":"https://api.github.com/repos/waharnum/infusion/contents/{+path}","compare_url":"https://api.github.com/repos/waharnum/infusion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waharnum/infusion/merges","archive_url":"https://api.github.com/repos/waharnum/infusion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waharnum/infusion/downloads","issues_url":"https://api.github.com/repos/waharnum/infusion/issues{/number}","pulls_url":"https://api.github.com/repos/waharnum/infusion/pulls{/number}","milestones_url":"https://api.github.com/repos/waharnum/infusion/milestones{/number}","notifications_url":"https://api.github.com/repos/waharnum/infusion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waharnum/infusion/labels{/name}","releases_url":"https://api.github.com/repos/waharnum/infusion/releases{/id}","deployments_url":"https://api.github.com/repos/waharnum/infusion/deployments","created_at":"2016-01-26T18:01:29Z","updated_at":"2016-01-26T18:01:32Z","pushed_at":"2016-09-30T14:02:09Z","git_url":"git://github.com/waharnum/infusion.git","ssh_url":"git@github.com:waharnum/infusion.git","clone_url":"https://github.com/waharnum/infusion.git","svn_url":"https://github.com/waharnum/infusion","homepage":"http://fluidproject.org/infusion.html","size":37197,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"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":"fluid-project:master","ref":"master","sha":"4bfa27b5ec73f515fccc4e4dbe79e3e511e5cd19","user":{"login":"fluid-project","id":560119,"avatar_url":"https://avatars.githubusercontent.com/u/560119?v=3","gravatar_id":"","url":"https://api.github.com/users/fluid-project","html_url":"https://github.com/fluid-project","followers_url":"https://api.github.com/users/fluid-project/followers","following_url":"https://api.github.com/users/fluid-project/following{/other_user}","gists_url":"https://api.github.com/users/fluid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fluid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluid-project/subscriptions","organizations_url":"https://api.github.com/users/fluid-project/orgs","repos_url":"https://api.github.com/users/fluid-project/repos","events_url":"https://api.github.com/users/fluid-project/events{/privacy}","received_events_url":"https://api.github.com/users/fluid-project/received_events","type":"Organization","site_admin":false},"repo":{"id":1317051,"name":"infusion","full_name":"fluid-project/infusion","owner":{"login":"fluid-project","id":560119,"avatar_url":"https://avatars.githubusercontent.com/u/560119?v=3","gravatar_id":"","url":"https://api.github.com/users/fluid-project","html_url":"https://github.com/fluid-project","followers_url":"https://api.github.com/users/fluid-project/followers","following_url":"https://api.github.com/users/fluid-project/following{/other_user}","gists_url":"https://api.github.com/users/fluid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fluid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluid-project/subscriptions","organizations_url":"https://api.github.com/users/fluid-project/orgs","repos_url":"https://api.github.com/users/fluid-project/repos","events_url":"https://api.github.com/users/fluid-project/events{/privacy}","received_events_url":"https://api.github.com/users/fluid-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fluid-project/infusion","description":"Infusion combines JavaScript, CSS, HTML and user-centered design, rolling them all into a single package that sits on top of the popular jQuery toolkit. Infusion includes ready-to-use components as well as a framework to build your own.","fork":false,"url":"https://api.github.com/repos/fluid-project/infusion","forks_url":"https://api.github.com/repos/fluid-project/infusion/forks","keys_url":"https://api.github.com/repos/fluid-project/infusion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fluid-project/infusion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fluid-project/infusion/teams","hooks_url":"https://api.github.com/repos/fluid-project/infusion/hooks","issue_events_url":"https://api.github.com/repos/fluid-project/infusion/issues/events{/number}","events_url":"https://api.github.com/repos/fluid-project/infusion/events","assignees_url":"https://api.github.com/repos/fluid-project/infusion/assignees{/user}","branches_url":"https://api.github.com/repos/fluid-project/infusion/branches{/branch}","tags_url":"https://api.github.com/repos/fluid-project/infusion/tags","blobs_url":"https://api.github.com/repos/fluid-project/infusion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fluid-project/infusion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fluid-project/infusion/git/refs{/sha}","trees_url":"https://api.github.com/repos/fluid-project/infusion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fluid-project/infusion/statuses/{sha}","languages_url":"https://api.github.com/repos/fluid-project/infusion/languages","stargazers_url":"https://api.github.com/repos/fluid-project/infusion/stargazers","contributors_url":"https://api.github.com/repos/fluid-project/infusion/contributors","subscribers_url":"https://api.github.com/repos/fluid-project/infusion/subscribers","subscription_url":"https://api.github.com/repos/fluid-project/infusion/subscription","commits_url":"https://api.github.com/repos/fluid-project/infusion/commits{/sha}","git_commits_url":"https://api.github.com/repos/fluid-project/infusion/git/commits{/sha}","comments_url":"https://api.github.com/repos/fluid-project/infusion/comments{/number}","issue_comment_url":"https://api.github.com/repos/fluid-project/infusion/issues/comments{/number}","contents_url":"https://api.github.com/repos/fluid-project/infusion/contents/{+path}","compare_url":"https://api.github.com/repos/fluid-project/infusion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fluid-project/infusion/merges","archive_url":"https://api.github.com/repos/fluid-project/infusion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fluid-project/infusion/downloads","issues_url":"https://api.github.com/repos/fluid-project/infusion/issues{/number}","pulls_url":"https://api.github.com/repos/fluid-project/infusion/pulls{/number}","milestones_url":"https://api.github.com/repos/fluid-project/infusion/milestones{/number}","notifications_url":"https://api.github.com/repos/fluid-project/infusion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fluid-project/infusion/labels{/name}","releases_url":"https://api.github.com/repos/fluid-project/infusion/releases{/id}","deployments_url":"https://api.github.com/repos/fluid-project/infusion/deployments","created_at":"2011-02-01T17:46:38Z","updated_at":"2016-08-29T06:27:59Z","pushed_at":"2016-09-30T14:16:29Z","git_url":"git://github.com/fluid-project/infusion.git","ssh_url":"git@github.com:fluid-project/infusion.git","clone_url":"https://github.com/fluid-project/infusion.git","svn_url":"https://github.com/fluid-project/infusion","homepage":"http://fluidproject.org/infusion.html","size":41369,"stargazers_count":80,"watchers_count":80,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":17,"forks":71,"open_issues":17,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/757"},"html":{"href":"https://github.com/fluid-project/infusion/pull/757"},"issue":{"href":"https://api.github.com/repos/fluid-project/infusion/issues/757"},"comments":{"href":"https://api.github.com/repos/fluid-project/infusion/issues/757/comments"},"review_comments":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/757/comments"},"review_comment":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/757/commits"},"statuses":{"href":"https://api.github.com/repos/fluid-project/infusion/statuses/ac8d7e299a07559fcb5fbd153573ca85f5717a7a"}}}}
{"actor":{"display_login":"amb26"}}