{"action":"created","comment":{"url":"https://api.github.com/repos/hasadna/anyway/pulls/comments/29778608","id":29778608,"diff_hunk":"@@ -20,54 +21,93 @@ var tour = new Tour({\n     animation: true,\n     title: \"ברוכים הבאים!\",\n     placement: 'bottom',\n-    content: '<p>ברוכים הבאים ל-ANYWAY. על גבי המפה ניתן לראות היכן התרחשו תאונות דרכים עם נפגעים.</p>',\n-    onNext: function(tour){\n+    content: '<p>ברוכים הבאים ל-ANYWAY, על גבי המפה ניתן לראות היכן התרחשו תאונות דרכים עם נפגעים.</p>',\n+    onNext: function(){\n         tourAddInput();\n     }\n-\n   },\n   {\n     element:  '#pac-input',\n     title: \"חיפוש כתובת\",\n     animation: true,\n     placement: 'bottom',\n-    content: '<p>כאן תוכלו להזין את כתובתכם או כתובת שאתם נוהגים לבקר בה.</p></br>'+'<p> לחיצה על ENTER תיקח אתכם אל הכתובת. לדוגמא:</br>זבוטנסקי 74 פתח תקווה</p>',\n+    content: '<p>כאן תוכלו להזין את כתובתכם או כתובת שאתם נוהגים לבקר בה.</p></br>'+'<p> לחיצה על ENTER תיקח אותכם אל הכתובת לדוגמא :</br>זבוטנסקי 74 פתח תקווה</p>',\n     onNext: function ()\n     {\n         tourClickInput();\n     }\n   },\n-]});\n-// Initialize the tour\n-tour.init();\n-// Start the tour\n-tour.start();\n-$(\"#tourOnClick\").click(function(){\n-  tour.start();\n-});\n-var tour1 = new Tour({\n-    template: \"<div class='popover tour' role='tooltip' > \\\n-    <div class='arrow'></div>\\\n-    <button type='button' class='close' data-role='end'><span> x </span></button> \\\n-    <h3 class='popover-title'></h3> \\\n-    <div class='popover-content'></div> \\\n-    <nav class='popover-navigation-rtl'> \\\n-        <div class='btn-group' role='group'> \\\n-            <button class='btn btn-default' data-role='next'>הבא >></button> \\\n-        </div> \\\n-    </nav> \\\n-    </div>\",\n-//still at work\n-  steps: [\n-  {\n-    element:  $('#step2Component'),\n-    placement: 'left',\n+        {\n+    element:  '#step3tour',\n     title: \"סינון לפי חומרה\",\n-    content: '<p>כאן ניתן להציג או להסתיר תאונות ברמות חומרה שונות. </br>לצורך הדוגמא נבטל את הצגתן של תאונות קלות עך ידי ביטול הסימון.</br> במידה ותבחרו להציג תאונות שמיקומן מוערך שימו לב שמידת ההערכה תופיע בשדה \"עיגון\" בפרטי התאונה ואייקון התאונה יהיה שקוף. </p>'\n+    placement: 'bottom',\n+    content: '<p>כאן ניתן להציג או להסתיר תאונות ברמות חומרה שונות. </br>לצורך הדוגמא נבטל את הצגתן של תאונות קלות עך ידי ביטול הסימון.</br> במידה ותבחרו להציג תאונות שמיקומן מוערך שימו לב שמידת ההערכה תופיע בשדה \"עיגון\" בפרטי התאונה ואייקון התאונה יהיה שקוף. </p>',\n+    onPrev: function(){\n+        step3prev();\n+    }\n   },\n {\n-    element:  $('#step2Component'),\n+    element:  '#step4tour',\n     title: \"סינון לפי טווח תאריכים \",\n-    content: '<p xmlns=\"http://www.w3.org/1999/html\">כאן ניתן לבחור טווח תאריכים להצגת תאונות.</br>לנוחותכם ישנם קיצורי דרך לשנה ספציפית וכן אפשרות לבחור כל טווח תאריכים באופן ידני.</br> לצורך הדוגמא נבחר להציג תאונות מינואר 2006 עד ינואר 2014.</p>'\n-  },\n-]})\n+    placement: 'bottom',\n+    content: '<p>באמצעות התפריט ניתן לבחור טווח תאריכים ולהציג תאונות מרמות חומרה שונות</br>לנוחותכם ישנם קיצורי דרך לשנה ספציפית וכן אפשרות לבחור כל טווח תאריכים באופן ידני.</br> לצורך הדוגמא נבחר להציג תאונות מיאנור 2006 עד ינואר 2014.</p>'","path":"static/js/tour.js","position":86,"original_position":86,"commit_id":"7a9c2d97b8d7f169be65d240d35d15072474028c","original_commit_id":"7a9c2d97b8d7f169be65d240d35d15072474028c","user":{"login":"danielhers","id":263363,"avatar_url":"https://avatars.githubusercontent.com/u/263363?v=3","gravatar_id":"","url":"https://api.github.com/users/danielhers","html_url":"https://github.com/danielhers","followers_url":"https://api.github.com/users/danielhers/followers","following_url":"https://api.github.com/users/danielhers/following{/other_user}","gists_url":"https://api.github.com/users/danielhers/gists{/gist_id}","starred_url":"https://api.github.com/users/danielhers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielhers/subscriptions","organizations_url":"https://api.github.com/users/danielhers/orgs","repos_url":"https://api.github.com/users/danielhers/repos","events_url":"https://api.github.com/users/danielhers/events{/privacy}","received_events_url":"https://api.github.com/users/danielhers/received_events","type":"User","site_admin":false},"body":"Typo: יאנור","created_at":"2015-05-06T16:59:54Z","updated_at":"2015-05-06T16:59:54Z","html_url":"https://github.com/hasadna/anyway/pull/241#discussion_r29778608","pull_request_url":"https://api.github.com/repos/hasadna/anyway/pulls/241","_links":{"self":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/comments/29778608"},"html":{"href":"https://github.com/hasadna/anyway/pull/241#discussion_r29778608"},"pull_request":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/241"}}},"pull_request":{"url":"https://api.github.com/repos/hasadna/anyway/pulls/241","id":34834719,"html_url":"https://github.com/hasadna/anyway/pull/241","diff_url":"https://github.com/hasadna/anyway/pull/241.diff","patch_url":"https://github.com/hasadna/anyway/pull/241.patch","issue_url":"https://api.github.com/repos/hasadna/anyway/issues/241","number":241,"state":"open","locked":false,"title":"#146 #239- fix boutton's issues, clean app.js to tour.js steps 0-5 ready","user":{"login":"agamaloni","id":6246191,"avatar_url":"https://avatars.githubusercontent.com/u/6246191?v=3","gravatar_id":"","url":"https://api.github.com/users/agamaloni","html_url":"https://github.com/agamaloni","followers_url":"https://api.github.com/users/agamaloni/followers","following_url":"https://api.github.com/users/agamaloni/following{/other_user}","gists_url":"https://api.github.com/users/agamaloni/gists{/gist_id}","starred_url":"https://api.github.com/users/agamaloni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agamaloni/subscriptions","organizations_url":"https://api.github.com/users/agamaloni/orgs","repos_url":"https://api.github.com/users/agamaloni/repos","events_url":"https://api.github.com/users/agamaloni/events{/privacy}","received_events_url":"https://api.github.com/users/agamaloni/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-06T16:27:56Z","updated_at":"2015-05-06T16:59:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1410da5a2a153d0b0e0ac1c6fdce98758fe5b28d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hasadna/anyway/pulls/241/commits","review_comments_url":"https://api.github.com/repos/hasadna/anyway/pulls/241/comments","review_comment_url":"https://api.github.com/repos/hasadna/anyway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hasadna/anyway/issues/241/comments","statuses_url":"https://api.github.com/repos/hasadna/anyway/statuses/7a9c2d97b8d7f169be65d240d35d15072474028c","head":{"label":"agamaloni:master","ref":"master","sha":"7a9c2d97b8d7f169be65d240d35d15072474028c","user":{"login":"agamaloni","id":6246191,"avatar_url":"https://avatars.githubusercontent.com/u/6246191?v=3","gravatar_id":"","url":"https://api.github.com/users/agamaloni","html_url":"https://github.com/agamaloni","followers_url":"https://api.github.com/users/agamaloni/followers","following_url":"https://api.github.com/users/agamaloni/following{/other_user}","gists_url":"https://api.github.com/users/agamaloni/gists{/gist_id}","starred_url":"https://api.github.com/users/agamaloni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agamaloni/subscriptions","organizations_url":"https://api.github.com/users/agamaloni/orgs","repos_url":"https://api.github.com/users/agamaloni/repos","events_url":"https://api.github.com/users/agamaloni/events{/privacy}","received_events_url":"https://api.github.com/users/agamaloni/received_events","type":"User","site_admin":false},"repo":{"id":34275282,"name":"anyway","full_name":"agamaloni/anyway","owner":{"login":"agamaloni","id":6246191,"avatar_url":"https://avatars.githubusercontent.com/u/6246191?v=3","gravatar_id":"","url":"https://api.github.com/users/agamaloni","html_url":"https://github.com/agamaloni","followers_url":"https://api.github.com/users/agamaloni/followers","following_url":"https://api.github.com/users/agamaloni/following{/other_user}","gists_url":"https://api.github.com/users/agamaloni/gists{/gist_id}","starred_url":"https://api.github.com/users/agamaloni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agamaloni/subscriptions","organizations_url":"https://api.github.com/users/agamaloni/orgs","repos_url":"https://api.github.com/users/agamaloni/repos","events_url":"https://api.github.com/users/agamaloni/events{/privacy}","received_events_url":"https://api.github.com/users/agamaloni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agamaloni/anyway","description":"ANYWAY - Car accidents map","fork":true,"url":"https://api.github.com/repos/agamaloni/anyway","forks_url":"https://api.github.com/repos/agamaloni/anyway/forks","keys_url":"https://api.github.com/repos/agamaloni/anyway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agamaloni/anyway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agamaloni/anyway/teams","hooks_url":"https://api.github.com/repos/agamaloni/anyway/hooks","issue_events_url":"https://api.github.com/repos/agamaloni/anyway/issues/events{/number}","events_url":"https://api.github.com/repos/agamaloni/anyway/events","assignees_url":"https://api.github.com/repos/agamaloni/anyway/assignees{/user}","branches_url":"https://api.github.com/repos/agamaloni/anyway/branches{/branch}","tags_url":"https://api.github.com/repos/agamaloni/anyway/tags","blobs_url":"https://api.github.com/repos/agamaloni/anyway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agamaloni/anyway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agamaloni/anyway/git/refs{/sha}","trees_url":"https://api.github.com/repos/agamaloni/anyway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agamaloni/anyway/statuses/{sha}","languages_url":"https://api.github.com/repos/agamaloni/anyway/languages","stargazers_url":"https://api.github.com/repos/agamaloni/anyway/stargazers","contributors_url":"https://api.github.com/repos/agamaloni/anyway/contributors","subscribers_url":"https://api.github.com/repos/agamaloni/anyway/subscribers","subscription_url":"https://api.github.com/repos/agamaloni/anyway/subscription","commits_url":"https://api.github.com/repos/agamaloni/anyway/commits{/sha}","git_commits_url":"https://api.github.com/repos/agamaloni/anyway/git/commits{/sha}","comments_url":"https://api.github.com/repos/agamaloni/anyway/comments{/number}","issue_comment_url":"https://api.github.com/repos/agamaloni/anyway/issues/comments{/number}","contents_url":"https://api.github.com/repos/agamaloni/anyway/contents/{+path}","compare_url":"https://api.github.com/repos/agamaloni/anyway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agamaloni/anyway/merges","archive_url":"https://api.github.com/repos/agamaloni/anyway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agamaloni/anyway/downloads","issues_url":"https://api.github.com/repos/agamaloni/anyway/issues{/number}","pulls_url":"https://api.github.com/repos/agamaloni/anyway/pulls{/number}","milestones_url":"https://api.github.com/repos/agamaloni/anyway/milestones{/number}","notifications_url":"https://api.github.com/repos/agamaloni/anyway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agamaloni/anyway/labels{/name}","releases_url":"https://api.github.com/repos/agamaloni/anyway/releases{/id}","created_at":"2015-04-20T17:27:55Z","updated_at":"2015-05-06T16:26:11Z","pushed_at":"2015-05-06T16:26:11Z","git_url":"git://github.com/agamaloni/anyway.git","ssh_url":"git@github.com:agamaloni/anyway.git","clone_url":"https://github.com/agamaloni/anyway.git","svn_url":"https://github.com/agamaloni/anyway","homepage":"http://www.anyway.co.il","size":18529,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":0,"default_branch":"master"}},"base":{"label":"hasadna:master","ref":"master","sha":"66c8f49f5ed411fd0d1efccd1ba1f9d1ea2df7e8","user":{"login":"hasadna","id":503639,"avatar_url":"https://avatars.githubusercontent.com/u/503639?v=3","gravatar_id":"","url":"https://api.github.com/users/hasadna","html_url":"https://github.com/hasadna","followers_url":"https://api.github.com/users/hasadna/followers","following_url":"https://api.github.com/users/hasadna/following{/other_user}","gists_url":"https://api.github.com/users/hasadna/gists{/gist_id}","starred_url":"https://api.github.com/users/hasadna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasadna/subscriptions","organizations_url":"https://api.github.com/users/hasadna/orgs","repos_url":"https://api.github.com/users/hasadna/repos","events_url":"https://api.github.com/users/hasadna/events{/privacy}","received_events_url":"https://api.github.com/users/hasadna/received_events","type":"Organization","site_admin":false},"repo":{"id":15057515,"name":"anyway","full_name":"hasadna/anyway","owner":{"login":"hasadna","id":503639,"avatar_url":"https://avatars.githubusercontent.com/u/503639?v=3","gravatar_id":"","url":"https://api.github.com/users/hasadna","html_url":"https://github.com/hasadna","followers_url":"https://api.github.com/users/hasadna/followers","following_url":"https://api.github.com/users/hasadna/following{/other_user}","gists_url":"https://api.github.com/users/hasadna/gists{/gist_id}","starred_url":"https://api.github.com/users/hasadna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasadna/subscriptions","organizations_url":"https://api.github.com/users/hasadna/orgs","repos_url":"https://api.github.com/users/hasadna/repos","events_url":"https://api.github.com/users/hasadna/events{/privacy}","received_events_url":"https://api.github.com/users/hasadna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasadna/anyway","description":"ANYWAY - Car accidents map","fork":true,"url":"https://api.github.com/repos/hasadna/anyway","forks_url":"https://api.github.com/repos/hasadna/anyway/forks","keys_url":"https://api.github.com/repos/hasadna/anyway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasadna/anyway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasadna/anyway/teams","hooks_url":"https://api.github.com/repos/hasadna/anyway/hooks","issue_events_url":"https://api.github.com/repos/hasadna/anyway/issues/events{/number}","events_url":"https://api.github.com/repos/hasadna/anyway/events","assignees_url":"https://api.github.com/repos/hasadna/anyway/assignees{/user}","branches_url":"https://api.github.com/repos/hasadna/anyway/branches{/branch}","tags_url":"https://api.github.com/repos/hasadna/anyway/tags","blobs_url":"https://api.github.com/repos/hasadna/anyway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasadna/anyway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasadna/anyway/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasadna/anyway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasadna/anyway/statuses/{sha}","languages_url":"https://api.github.com/repos/hasadna/anyway/languages","stargazers_url":"https://api.github.com/repos/hasadna/anyway/stargazers","contributors_url":"https://api.github.com/repos/hasadna/anyway/contributors","subscribers_url":"https://api.github.com/repos/hasadna/anyway/subscribers","subscription_url":"https://api.github.com/repos/hasadna/anyway/subscription","commits_url":"https://api.github.com/repos/hasadna/anyway/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasadna/anyway/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasadna/anyway/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasadna/anyway/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasadna/anyway/contents/{+path}","compare_url":"https://api.github.com/repos/hasadna/anyway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasadna/anyway/merges","archive_url":"https://api.github.com/repos/hasadna/anyway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasadna/anyway/downloads","issues_url":"https://api.github.com/repos/hasadna/anyway/issues{/number}","pulls_url":"https://api.github.com/repos/hasadna/anyway/pulls{/number}","milestones_url":"https://api.github.com/repos/hasadna/anyway/milestones{/number}","notifications_url":"https://api.github.com/repos/hasadna/anyway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasadna/anyway/labels{/name}","releases_url":"https://api.github.com/repos/hasadna/anyway/releases{/id}","created_at":"2013-12-09T19:57:13Z","updated_at":"2015-05-05T10:59:55Z","pushed_at":"2015-05-06T16:27:56Z","git_url":"git://github.com/hasadna/anyway.git","ssh_url":"git@github.com:hasadna/anyway.git","clone_url":"https://github.com/hasadna/anyway.git","svn_url":"https://github.com/hasadna/anyway","homepage":"http://www.anyway.co.il","size":20379,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":39,"forks":38,"open_issues":39,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/241"},"html":{"href":"https://github.com/hasadna/anyway/pull/241"},"issue":{"href":"https://api.github.com/repos/hasadna/anyway/issues/241"},"comments":{"href":"https://api.github.com/repos/hasadna/anyway/issues/241/comments"},"review_comments":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/241/comments"},"review_comment":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hasadna/anyway/pulls/241/commits"},"statuses":{"href":"https://api.github.com/repos/hasadna/anyway/statuses/7a9c2d97b8d7f169be65d240d35d15072474028c"}}}}