{"action":"opened","issue":{"url":"https://api.github.com/repos/EightShapes/Blocks/issues/116","labels_url":"https://api.github.com/repos/EightShapes/Blocks/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/EightShapes/Blocks/issues/116/comments","events_url":"https://api.github.com/repos/EightShapes/Blocks/issues/116/events","html_url":"https://github.com/EightShapes/Blocks/issues/116","id":66227525,"number":116,"title":"blocks-layout not loading blocks-loader in latest build","user":{"login":"humancompanion","id":352987,"avatar_url":"https://avatars.githubusercontent.com/u/352987?v=3","gravatar_id":"","url":"https://api.github.com/users/humancompanion","html_url":"https://github.com/humancompanion","followers_url":"https://api.github.com/users/humancompanion/followers","following_url":"https://api.github.com/users/humancompanion/following{/other_user}","gists_url":"https://api.github.com/users/humancompanion/gists{/gist_id}","starred_url":"https://api.github.com/users/humancompanion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humancompanion/subscriptions","organizations_url":"https://api.github.com/users/humancompanion/orgs","repos_url":"https://api.github.com/users/humancompanion/repos","events_url":"https://api.github.com/users/humancompanion/events{/privacy}","received_events_url":"https://api.github.com/users/humancompanion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kevinmpowell","id":979463,"avatar_url":"https://avatars.githubusercontent.com/u/979463?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinmpowell","html_url":"https://github.com/kevinmpowell","followers_url":"https://api.github.com/users/kevinmpowell/followers","following_url":"https://api.github.com/users/kevinmpowell/following{/other_user}","gists_url":"https://api.github.com/users/kevinmpowell/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinmpowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinmpowell/subscriptions","organizations_url":"https://api.github.com/users/kevinmpowell/orgs","repos_url":"https://api.github.com/users/kevinmpowell/repos","events_url":"https://api.github.com/users/kevinmpowell/events{/privacy}","received_events_url":"https://api.github.com/users/kevinmpowell/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-04-03T21:04:58Z","updated_at":"2015-04-03T21:04:58Z","closed_at":null,"body":"blocks-layout, which is not actually checked in here (ahem) but we'll handle bugs for here anyway, failed to load blocks-loader. I wasn't able to ascertain why. However, the fix was to change this:\r\n\r\n````\r\n if (autoload === true) {\r\n    $(window).on('load', function () {\r\n      $('body').BlocksLoader();\r\n    });\r\n  }\r\n````\r\n\r\nto this:\r\n\r\n````\r\nif (autoload === true) {\r\n  $('body').BlocksLoader();\r\n}\r\n````\r\n\r\nPerhaps the load event has already fired by the time blocks-loader is inserted into the <head>? "}}