{"action":"closed","issue":{"url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/81","labels_url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/81/comments","events_url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/81/events","html_url":"https://github.com/ga-dc/wdidc5-project3/issues/81","id":76451533,"number":81,"title":"Run ajax on page load","user":{"login":"presto2116","id":9746108,"avatar_url":"https://avatars.githubusercontent.com/u/9746108?v=3","gravatar_id":"","url":"https://api.github.com/users/presto2116","html_url":"https://github.com/presto2116","followers_url":"https://api.github.com/users/presto2116/followers","following_url":"https://api.github.com/users/presto2116/following{/other_user}","gists_url":"https://api.github.com/users/presto2116/gists{/gist_id}","starred_url":"https://api.github.com/users/presto2116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presto2116/subscriptions","organizations_url":"https://api.github.com/users/presto2116/orgs","repos_url":"https://api.github.com/users/presto2116/repos","events_url":"https://api.github.com/users/presto2116/events{/privacy}","received_events_url":"https://api.github.com/users/presto2116/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-14T18:39:59Z","updated_at":"2015-05-14T18:59:54Z","closed_at":"2015-05-14T18:59:54Z","body":"Trying to find a way to run ajax on page load. I assume I need to put something in my application.js file after var gifView = new GifView(); but cant get anything to work\r\n```\r\nvar ready = function ready () {\r\n\t$(document).foundation();\r\n\tvar gifView = new GifView();\r\n}\r\n\r\n$(document).ready(ready);\r\n$(document).on('page:load', ready);\r\n```"}}