{"action":"closed","issue":{"url":"https://api.github.com/repos/imakewebthings/waypoints/issues/476","repository_url":"https://api.github.com/repos/imakewebthings/waypoints","labels_url":"https://api.github.com/repos/imakewebthings/waypoints/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/imakewebthings/waypoints/issues/476/comments","events_url":"https://api.github.com/repos/imakewebthings/waypoints/issues/476/events","html_url":"https://github.com/imakewebthings/waypoints/issues/476","id":130513490,"number":476,"title":"How to continuously trigger waypoints?","user":{"login":"danyj","id":2340172,"avatar_url":"https://avatars.githubusercontent.com/u/2340172?v=3","gravatar_id":"","url":"https://api.github.com/users/danyj","html_url":"https://github.com/danyj","followers_url":"https://api.github.com/users/danyj/followers","following_url":"https://api.github.com/users/danyj/following{/other_user}","gists_url":"https://api.github.com/users/danyj/gists{/gist_id}","starred_url":"https://api.github.com/users/danyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danyj/subscriptions","organizations_url":"https://api.github.com/users/danyj/orgs","repos_url":"https://api.github.com/users/danyj/repos","events_url":"https://api.github.com/users/danyj/events{/privacy}","received_events_url":"https://api.github.com/users/danyj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-01T23:03:30Z","updated_at":"2016-03-04T02:26:05Z","closed_at":"2016-03-04T02:26:05Z","body":"I am trying to use waypoints as infinite scroll to load additional items via ajax\r\n\r\n\r\n\t $(holder).waypoint(function(direction) {\r\n\t\t\r\n\t   if (direction === 'down'){\r\n\t\t\tRunMasonryAjax();\r\n\t   }\r\n\t  \r\n\t}, {\r\n\t\toffset: 'bottom-in-view',\r\n\t\tcontinuous: true\r\n\t});  \r\n\r\nthe snipp above works only when I pass the bottom of the holder and than I have to scroll up/down for ajax function to fire again.\r\n\r\nI know that waypoint also has own infinite scroll but it does not work for me since I am using different approach to load items.\r\n\r\nIt would be great if somehow I can refresh/destroy the waypoint once the items are loaded. \r\nAny help is appreciated. "}}