{"action":"created","issue":{"url":"https://api.github.com/repos/jlmakes/scrollreveal/issues/448","repository_url":"https://api.github.com/repos/jlmakes/scrollreveal","labels_url":"https://api.github.com/repos/jlmakes/scrollreveal/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/jlmakes/scrollreveal/issues/448/comments","events_url":"https://api.github.com/repos/jlmakes/scrollreveal/issues/448/events","html_url":"https://github.com/jlmakes/scrollreveal/issues/448","id":343326630,"node_id":"MDU6SXNzdWUzNDMzMjY2MzA=","number":448,"title":"ScrollReveal and Webpack Import","user":{"login":"Wouter125","id":6507123,"node_id":"MDQ6VXNlcjY1MDcxMjM=","avatar_url":"https://avatars2.githubusercontent.com/u/6507123?v=4","gravatar_id":"","url":"https://api.github.com/users/Wouter125","html_url":"https://github.com/Wouter125","followers_url":"https://api.github.com/users/Wouter125/followers","following_url":"https://api.github.com/users/Wouter125/following{/other_user}","gists_url":"https://api.github.com/users/Wouter125/gists{/gist_id}","starred_url":"https://api.github.com/users/Wouter125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wouter125/subscriptions","organizations_url":"https://api.github.com/users/Wouter125/orgs","repos_url":"https://api.github.com/users/Wouter125/repos","events_url":"https://api.github.com/users/Wouter125/events{/privacy}","received_events_url":"https://api.github.com/users/Wouter125/received_events","type":"User","site_admin":false},"labels":[{"id":137515162,"node_id":"MDU6TGFiZWwxMzc1MTUxNjI=","url":"https://api.github.com/repos/jlmakes/scrollreveal/labels/Question","name":"Question","color":"fef2c0","default":false},{"id":137528759,"node_id":"MDU6TGFiZWwxMzc1Mjg3NTk=","url":"https://api.github.com/repos/jlmakes/scrollreveal/labels/Third%20Party","name":"Third Party","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-21T13:29:22Z","updated_at":"2018-07-22T20:04:16Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI recently embedded ScrollReveal 4 beta 32 into my portfolio but I'm having a hard time to get it to run. \r\n\r\nI'm using Webpack 4.14.0 on OSX Mojave together with Safari 12 and Firefox 62.0b9. In both browsers I'm having the same issue. \r\n\r\nScrollReveal seems to be working fine, the HTML is being prepared (sr class and height added, data-sr class is being setup with the correct values). The only thing is, when I start scrolling and the object should reveal not one animation is being loaded and the data-sr values remain the same throughout.\r\n\r\nI tried to setup ScrollReveal as simple as possible by doing the following:\r\n\r\n```js\r\nvar initializeScrollReveal = function() {\r\n    console.log('Scroll Reveal Is Being Setup');\r\n    window.sr = new ScrollReveal();\r\n    sr.reveal('.RevealIt');\r\n}\r\n```\r\n\r\nWhen inspecting my `bundle.js` ScrollReveal is being loaded before my code is, so that's fine. Also the initialise only starts when the DOM content is ready.\r\n\r\nFurthermore, I checked the differences in the original file and my compiled file and no weird things are going on (see [here](https://www.diffchecker.com/pbi1Payx)). My node_modules are also excluded from Babel so it shouldn't transpile anything.\r\n\r\nI'm kinda running out of ideas on how to solve this issue, so any help is appreciated. For my complete code you can checkout the following [repo](https://github.com/Wouter125/portfolio-2018).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jlmakes/scrollreveal/issues/comments/406892811","html_url":"https://github.com/jlmakes/scrollreveal/issues/448#issuecomment-406892811","issue_url":"https://api.github.com/repos/jlmakes/scrollreveal/issues/448","id":406892811,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjg5MjgxMQ==","user":{"login":"jlmakes","id":2044842,"node_id":"MDQ6VXNlcjIwNDQ4NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/2044842?v=4","gravatar_id":"","url":"https://api.github.com/users/jlmakes","html_url":"https://github.com/jlmakes","followers_url":"https://api.github.com/users/jlmakes/followers","following_url":"https://api.github.com/users/jlmakes/following{/other_user}","gists_url":"https://api.github.com/users/jlmakes/gists{/gist_id}","starred_url":"https://api.github.com/users/jlmakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlmakes/subscriptions","organizations_url":"https://api.github.com/users/jlmakes/orgs","repos_url":"https://api.github.com/users/jlmakes/repos","events_url":"https://api.github.com/users/jlmakes/events{/privacy}","received_events_url":"https://api.github.com/users/jlmakes/received_events","type":"User","site_admin":false},"created_at":"2018-07-22T20:04:16Z","updated_at":"2018-07-22T20:04:16Z","author_association":"OWNER","body":"Sounds like we’ve been chasing #379"}}
{"actor":{"display_login":"jlmakes"}}