{"action":"closed","issue":{"url":"https://api.github.com/repos/verlok/lazyload/issues/226","repository_url":"https://api.github.com/repos/verlok/lazyload","labels_url":"https://api.github.com/repos/verlok/lazyload/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/verlok/lazyload/issues/226/comments","events_url":"https://api.github.com/repos/verlok/lazyload/issues/226/events","html_url":"https://github.com/verlok/lazyload/issues/226","id":346187911,"node_id":"MDU6SXNzdWUzNDYxODc5MTE=","number":226,"title":"Uncaught ReferenceError: LazyLoad is not defined","user":{"login":"ankurdhamija83","id":22906357,"node_id":"MDQ6VXNlcjIyOTA2MzU3","avatar_url":"https://avatars1.githubusercontent.com/u/22906357?v=4","gravatar_id":"","url":"https://api.github.com/users/ankurdhamija83","html_url":"https://github.com/ankurdhamija83","followers_url":"https://api.github.com/users/ankurdhamija83/followers","following_url":"https://api.github.com/users/ankurdhamija83/following{/other_user}","gists_url":"https://api.github.com/users/ankurdhamija83/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurdhamija83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurdhamija83/subscriptions","organizations_url":"https://api.github.com/users/ankurdhamija83/orgs","repos_url":"https://api.github.com/users/ankurdhamija83/repos","events_url":"https://api.github.com/users/ankurdhamija83/events{/privacy}","received_events_url":"https://api.github.com/users/ankurdhamija83/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-31T13:28:56Z","updated_at":"2018-07-31T22:28:36Z","closed_at":"2018-07-31T22:28:36Z","author_association":"NONE","body":"Are you reporting a bug or requesting a feature?\r\n\r\nIf it's a bug, it would be very useful to me if you answered the following questions.\r\nYour answers will help me understand what's happening and enable me to reproduce the bug.\r\n\r\n* What is happening? - I am getting an error in the browser console - \"Uncaught ReferenceError: LazyLoad is not defined\"\r\n* What is the expected behaviour? - I guess, this error should not occur.\r\n* Which version of LazyLoad are you using? - Using the following setup code from the website\r\n\r\n```html\r\n\t<script type=\"text/javascript\">\r\n\t\t(function(w, d){\r\n\t\tvar b = d.getElementsByTagName('body')[0];\r\n\t\tvar s = d.createElement(\"script\"); \r\n\t\t// s.async = true;\r\n\t\tvar v = !(\"IntersectionObserver\" in w) ? \"8.12.0\" : \"10.12.0\";\r\n\t\ts.src = \"https://cdnjs.cloudflare.com/ajax/libs/vanilla-lazyload/\" + v + \"/lazyload.min.js\";\r\n\t\tw.lazyLoadOptions = {}; // Your options here. See \"recipes\" for more information about async.\r\n\t\tb.appendChild(s);\r\n\t\t}(window, document));\r\n\t</script>\r\n\r\n<script type=\"text/javascript\">\r\n\t\t\tvar myLazyLoad = new LazyLoad({\r\n\t    \t\telements_selector: \".lazy\"\r\n\t\t\t});\r\n\t</script>\r\n```\r\n\r\n* In which browser(s) and browser version(s) are you experiencing the problem? - Chrome\r\n* Could you provide the HTML, CSS and JS code you use for your images? - `<img width=\"300\" height=\"300\" alt=\"Best phones under 15000 price in India\" title=\"Best seller phones under 15000 price in India\" class=\"lazy\" data-src=\"https://res.cloudinary.com/hello-vinci/image/upload/v1533011927/15-min.png\">`\r\n* What are the steps to reproduce the problem?\r\n\r\nThank you.\r\n\r\nSurprisingly, the image loads correctly but I get the above mentioned error in the browser console.\r\n\r\nRegards,\r\nAnkur\r\n"}}
{"actor":{"display_login":"verlok"}}