{"action":"created","comment":{"url":"https://api.github.com/repos/jscho13/wingme/pulls/comments/51074528","id":51074528,"diff_hunk":"@@ -0,0 +1,240 @@\n+String.prototype.trim = function() {\n+    return this.replace(/^\\s+|\\s+$/g,\"\");\n+}\n+String.prototype.trimLeft = function() {\n+    return this.replace(/^\\s+/,\"\");\n+}\n+String.prototype.trimRight = function() {\n+    return this.replace(/\\s+$/,\"\");\n+}\n+\n+\n+//Demos file list (in order of presentation)\n+//THe page name is formed from the file name.\n+var fileList = [\n+\t'Basic_swipe.html',\n+\t'Single_swipe.html',\n+\t'Any_finger_swipe.html',\n+\t'Finger_swipe.html',\n+\t'Swipe_status.html',\n+\t'Pinch.html',\n+\t'Pinch_status.html',\n+\t'Pinch_and_Swipe.html',\n+\t'Trigger_handlers.html',\n+\t'Stop_propegation.html',\n+\t'Handlers_and_events.html',\n+\t'Tap_vs_swipe.html',\n+\t'Hold.html',\n+\t'Excluded_children.html',\n+\t'Page_zoom.html',\n+\t'Thresholds.html',\n+\t'Enable_and_destroy.html',\n+\t'Page_scrolling.html',\n+\t'Options.html',\n+\t'Image_gallery_example.html'\n+];\n+\n+\n+/**\n+ * Builds the demo page\n+ */\n+function init() {\n+\tbuildTitle();\n+\tbuildCodeExample();\n+\tbuildNavigation();\n+}\n+\n+/**\n+ * Creates the navigation components\n+ */\n+function buildNavigation() {\n+\t$('.navigation').each(function( index ) {\n+\t\t$(this).html( getNavigation() );\n+\t});\n+\t\n+\t$('.navigation_menu').each(function( index ) {\n+\t\t$(this).html( getNavigationMenu() );\n+\t})\n+\t\n+\t$('.navigation_list').each(function( index ) {\n+\t\t$(this).html( getNavigationList() );\n+\t})\n+\n+\n+\t$('#menu').change( function() {\n+\t\tlocation.href=$(this).val();\n+\t});\n+\t\n+\t$('#menu li').click( function() {\n+\t\tlocation.href=$(this).val();\n+\t});\n+\t\n+\t$('.example_btn').click( function() {\n+\t\t$(document).scrollTop( $(\"#test\").offset().top );\n+\t});\n+\n+\t$('.events code').click( function() {\n+\t\tlocation.href = '../docs/symbols/%24.fn.swipe.html#event:' + $(this).text();\t\n+\t});\n+\n+\t$('.properties code').click( function() {\n+\t\tlocation.href = '../docs/symbols/%24.fn.swipe.defaults.html#' + $(this).text();\t\n+\t});\n+\n+\t$('.methods code').click( function() {\n+\t\tlocation.href = '../docs/symbols/%24.fn.swipe.html#' + $(this).text();\t\n+\t});\n+}\n+\n+/**\n+ * Builds the title element\n+ */\n+function buildTitle() {\n+\t$('.title').each(function( index ) {\n+\t\t$(this).html( getTitle() );\n+\t})\n+}\n+\n+/**\n+ * Copies the <script> tag contents, and populates the demo pretty print div to display the \n+ * code example.\n+ */\n+function buildCodeExample() {\n+\t\n+\t$('.prettyprint').each(function( index ) {","path":"bower_components/jquery-touchswipe/demos/js/main.js","position":104,"original_position":104,"commit_id":"bf3863d5564214333d6e3dbeeed5ebf74e4eccf6","original_commit_id":"bf3863d5564214333d6e3dbeeed5ebf74e4eccf6","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2016-01-28T03:04:41Z","updated_at":"2016-01-28T03:04:41Z","html_url":"https://github.com/jscho13/wingme/pull/17#discussion_r51074528","pull_request_url":"https://api.github.com/repos/jscho13/wingme/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/jscho13/wingme/pulls/comments/51074528"},"html":{"href":"https://github.com/jscho13/wingme/pull/17#discussion_r51074528"},"pull_request":{"href":"https://api.github.com/repos/jscho13/wingme/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/jscho13/wingme/pulls/17","id":57448269,"html_url":"https://github.com/jscho13/wingme/pull/17","diff_url":"https://github.com/jscho13/wingme/pull/17.diff","patch_url":"https://github.com/jscho13/wingme/pull/17.patch","issue_url":"https://api.github.com/repos/jscho13/wingme/issues/17","number":17,"state":"closed","locked":false,"title":"Masonry landing","user":{"login":"jscho13","id":8882123,"avatar_url":"https://avatars.githubusercontent.com/u/8882123?v=3","gravatar_id":"","url":"https://api.github.com/users/jscho13","html_url":"https://github.com/jscho13","followers_url":"https://api.github.com/users/jscho13/followers","following_url":"https://api.github.com/users/jscho13/following{/other_user}","gists_url":"https://api.github.com/users/jscho13/gists{/gist_id}","starred_url":"https://api.github.com/users/jscho13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscho13/subscriptions","organizations_url":"https://api.github.com/users/jscho13/orgs","repos_url":"https://api.github.com/users/jscho13/repos","events_url":"https://api.github.com/users/jscho13/events{/privacy}","received_events_url":"https://api.github.com/users/jscho13/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-28T03:04:09Z","updated_at":"2016-01-28T03:04:41Z","closed_at":"2016-01-28T03:04:16Z","merged_at":"2016-01-28T03:04:16Z","merge_commit_sha":"567c1b8a001f26e393421d7566f1c7e727f0d175","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jscho13/wingme/pulls/17/commits","review_comments_url":"https://api.github.com/repos/jscho13/wingme/pulls/17/comments","review_comment_url":"https://api.github.com/repos/jscho13/wingme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jscho13/wingme/issues/17/comments","statuses_url":"https://api.github.com/repos/jscho13/wingme/statuses/bf3863d5564214333d6e3dbeeed5ebf74e4eccf6","head":{"label":"jscho13:masonry_landing","ref":"masonry_landing","sha":"bf3863d5564214333d6e3dbeeed5ebf74e4eccf6","user":{"login":"jscho13","id":8882123,"avatar_url":"https://avatars.githubusercontent.com/u/8882123?v=3","gravatar_id":"","url":"https://api.github.com/users/jscho13","html_url":"https://github.com/jscho13","followers_url":"https://api.github.com/users/jscho13/followers","following_url":"https://api.github.com/users/jscho13/following{/other_user}","gists_url":"https://api.github.com/users/jscho13/gists{/gist_id}","starred_url":"https://api.github.com/users/jscho13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscho13/subscriptions","organizations_url":"https://api.github.com/users/jscho13/orgs","repos_url":"https://api.github.com/users/jscho13/repos","events_url":"https://api.github.com/users/jscho13/events{/privacy}","received_events_url":"https://api.github.com/users/jscho13/received_events","type":"User","site_admin":false},"repo":{"id":49890750,"name":"wingme","full_name":"jscho13/wingme","owner":{"login":"jscho13","id":8882123,"avatar_url":"https://avatars.githubusercontent.com/u/8882123?v=3","gravatar_id":"","url":"https://api.github.com/users/jscho13","html_url":"https://github.com/jscho13","followers_url":"https://api.github.com/users/jscho13/followers","following_url":"https://api.github.com/users/jscho13/following{/other_user}","gists_url":"https://api.github.com/users/jscho13/gists{/gist_id}","starred_url":"https://api.github.com/users/jscho13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscho13/subscriptions","organizations_url":"https://api.github.com/users/jscho13/orgs","repos_url":"https://api.github.com/users/jscho13/repos","events_url":"https://api.github.com/users/jscho13/events{/privacy}","received_events_url":"https://api.github.com/users/jscho13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jscho13/wingme","description":"The dating site where your friends match you","fork":false,"url":"https://api.github.com/repos/jscho13/wingme","forks_url":"https://api.github.com/repos/jscho13/wingme/forks","keys_url":"https://api.github.com/repos/jscho13/wingme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jscho13/wingme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jscho13/wingme/teams","hooks_url":"https://api.github.com/repos/jscho13/wingme/hooks","issue_events_url":"https://api.github.com/repos/jscho13/wingme/issues/events{/number}","events_url":"https://api.github.com/repos/jscho13/wingme/events","assignees_url":"https://api.github.com/repos/jscho13/wingme/assignees{/user}","branches_url":"https://api.github.com/repos/jscho13/wingme/branches{/branch}","tags_url":"https://api.github.com/repos/jscho13/wingme/tags","blobs_url":"https://api.github.com/repos/jscho13/wingme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jscho13/wingme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jscho13/wingme/git/refs{/sha}","trees_url":"https://api.github.com/repos/jscho13/wingme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jscho13/wingme/statuses/{sha}","languages_url":"https://api.github.com/repos/jscho13/wingme/languages","stargazers_url":"https://api.github.com/repos/jscho13/wingme/stargazers","contributors_url":"https://api.github.com/repos/jscho13/wingme/contributors","subscribers_url":"https://api.github.com/repos/jscho13/wingme/subscribers","subscription_url":"https://api.github.com/repos/jscho13/wingme/subscription","commits_url":"https://api.github.com/repos/jscho13/wingme/commits{/sha}","git_commits_url":"https://api.github.com/repos/jscho13/wingme/git/commits{/sha}","comments_url":"https://api.github.com/repos/jscho13/wingme/comments{/number}","issue_comment_url":"https://api.github.com/repos/jscho13/wingme/issues/comments{/number}","contents_url":"https://api.github.com/repos/jscho13/wingme/contents/{+path}","compare_url":"https://api.github.com/repos/jscho13/wingme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jscho13/wingme/merges","archive_url":"https://api.github.com/repos/jscho13/wingme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jscho13/wingme/downloads","issues_url":"https://api.github.com/repos/jscho13/wingme/issues{/number}","pulls_url":"https://api.github.com/repos/jscho13/wingme/pulls{/number}","milestones_url":"https://api.github.com/repos/jscho13/wingme/milestones{/number}","notifications_url":"https://api.github.com/repos/jscho13/wingme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jscho13/wingme/labels{/name}","releases_url":"https://api.github.com/repos/jscho13/wingme/releases{/id}","deployments_url":"https://api.github.com/repos/jscho13/wingme/deployments","created_at":"2016-01-18T16:55:29Z","updated_at":"2016-01-27T18:31:48Z","pushed_at":"2016-01-28T03:04:16Z","git_url":"git://github.com/jscho13/wingme.git","ssh_url":"git@github.com:jscho13/wingme.git","clone_url":"https://github.com/jscho13/wingme.git","svn_url":"https://github.com/jscho13/wingme","homepage":"http://wingme.co","size":6061,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"jscho13:master","ref":"master","sha":"4d36716b94b3b25c0377a69c436ef0c550828f37","user":{"login":"jscho13","id":8882123,"avatar_url":"https://avatars.githubusercontent.com/u/8882123?v=3","gravatar_id":"","url":"https://api.github.com/users/jscho13","html_url":"https://github.com/jscho13","followers_url":"https://api.github.com/users/jscho13/followers","following_url":"https://api.github.com/users/jscho13/following{/other_user}","gists_url":"https://api.github.com/users/jscho13/gists{/gist_id}","starred_url":"https://api.github.com/users/jscho13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscho13/subscriptions","organizations_url":"https://api.github.com/users/jscho13/orgs","repos_url":"https://api.github.com/users/jscho13/repos","events_url":"https://api.github.com/users/jscho13/events{/privacy}","received_events_url":"https://api.github.com/users/jscho13/received_events","type":"User","site_admin":false},"repo":{"id":49890750,"name":"wingme","full_name":"jscho13/wingme","owner":{"login":"jscho13","id":8882123,"avatar_url":"https://avatars.githubusercontent.com/u/8882123?v=3","gravatar_id":"","url":"https://api.github.com/users/jscho13","html_url":"https://github.com/jscho13","followers_url":"https://api.github.com/users/jscho13/followers","following_url":"https://api.github.com/users/jscho13/following{/other_user}","gists_url":"https://api.github.com/users/jscho13/gists{/gist_id}","starred_url":"https://api.github.com/users/jscho13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscho13/subscriptions","organizations_url":"https://api.github.com/users/jscho13/orgs","repos_url":"https://api.github.com/users/jscho13/repos","events_url":"https://api.github.com/users/jscho13/events{/privacy}","received_events_url":"https://api.github.com/users/jscho13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jscho13/wingme","description":"The dating site where your friends match you","fork":false,"url":"https://api.github.com/repos/jscho13/wingme","forks_url":"https://api.github.com/repos/jscho13/wingme/forks","keys_url":"https://api.github.com/repos/jscho13/wingme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jscho13/wingme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jscho13/wingme/teams","hooks_url":"https://api.github.com/repos/jscho13/wingme/hooks","issue_events_url":"https://api.github.com/repos/jscho13/wingme/issues/events{/number}","events_url":"https://api.github.com/repos/jscho13/wingme/events","assignees_url":"https://api.github.com/repos/jscho13/wingme/assignees{/user}","branches_url":"https://api.github.com/repos/jscho13/wingme/branches{/branch}","tags_url":"https://api.github.com/repos/jscho13/wingme/tags","blobs_url":"https://api.github.com/repos/jscho13/wingme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jscho13/wingme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jscho13/wingme/git/refs{/sha}","trees_url":"https://api.github.com/repos/jscho13/wingme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jscho13/wingme/statuses/{sha}","languages_url":"https://api.github.com/repos/jscho13/wingme/languages","stargazers_url":"https://api.github.com/repos/jscho13/wingme/stargazers","contributors_url":"https://api.github.com/repos/jscho13/wingme/contributors","subscribers_url":"https://api.github.com/repos/jscho13/wingme/subscribers","subscription_url":"https://api.github.com/repos/jscho13/wingme/subscription","commits_url":"https://api.github.com/repos/jscho13/wingme/commits{/sha}","git_commits_url":"https://api.github.com/repos/jscho13/wingme/git/commits{/sha}","comments_url":"https://api.github.com/repos/jscho13/wingme/comments{/number}","issue_comment_url":"https://api.github.com/repos/jscho13/wingme/issues/comments{/number}","contents_url":"https://api.github.com/repos/jscho13/wingme/contents/{+path}","compare_url":"https://api.github.com/repos/jscho13/wingme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jscho13/wingme/merges","archive_url":"https://api.github.com/repos/jscho13/wingme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jscho13/wingme/downloads","issues_url":"https://api.github.com/repos/jscho13/wingme/issues{/number}","pulls_url":"https://api.github.com/repos/jscho13/wingme/pulls{/number}","milestones_url":"https://api.github.com/repos/jscho13/wingme/milestones{/number}","notifications_url":"https://api.github.com/repos/jscho13/wingme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jscho13/wingme/labels{/name}","releases_url":"https://api.github.com/repos/jscho13/wingme/releases{/id}","deployments_url":"https://api.github.com/repos/jscho13/wingme/deployments","created_at":"2016-01-18T16:55:29Z","updated_at":"2016-01-27T18:31:48Z","pushed_at":"2016-01-28T03:04:16Z","git_url":"git://github.com/jscho13/wingme.git","ssh_url":"git@github.com:jscho13/wingme.git","clone_url":"https://github.com/jscho13/wingme.git","svn_url":"https://github.com/jscho13/wingme","homepage":"http://wingme.co","size":6061,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jscho13/wingme/pulls/17"},"html":{"href":"https://github.com/jscho13/wingme/pull/17"},"issue":{"href":"https://api.github.com/repos/jscho13/wingme/issues/17"},"comments":{"href":"https://api.github.com/repos/jscho13/wingme/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/jscho13/wingme/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/jscho13/wingme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jscho13/wingme/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/jscho13/wingme/statuses/bf3863d5564214333d6e3dbeeed5ebf74e4eccf6"}}}}