{"action":"created","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/4295","repository_url":"https://api.github.com/repos/Dogfalo/materialize","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/4295/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/4295/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/4295/events","html_url":"https://github.com/Dogfalo/materialize/issues/4295","id":210417341,"number":4295,"title":"materialize.js cannot work","user":{"login":"willin","id":1890238,"avatar_url":"https://avatars.githubusercontent.com/u/1890238?v=3","gravatar_id":"","url":"https://api.github.com/users/willin","html_url":"https://github.com/willin","followers_url":"https://api.github.com/users/willin/followers","following_url":"https://api.github.com/users/willin/following{/other_user}","gists_url":"https://api.github.com/users/willin/gists{/gist_id}","starred_url":"https://api.github.com/users/willin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willin/subscriptions","organizations_url":"https://api.github.com/users/willin/orgs","repos_url":"https://api.github.com/users/willin/repos","events_url":"https://api.github.com/users/willin/events{/privacy}","received_events_url":"https://api.github.com/users/willin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-27T08:28:39Z","updated_at":"2017-02-27T23:07:50Z","closed_at":"2017-02-27T23:07:50Z","body":"### Description\r\n\r\ni want to make a gitbook theme, and require  materialize.js after jquery\r\n\r\n<img width=\"1675\" alt=\"wx20170227-162213 2x\" src=\"https://cloud.githubusercontent.com/assets/1890238/23353762/12313fc0-fd09-11e6-9fcb-68737e955d95.png\">\r\n\r\nbut it doesn't work.\r\n\r\n### Repro Steps\r\nLayout the steps to reproduce your issue.\r\n\r\nsource code: <https://github.com/willin/gitbook-plugin-theme-material/blob/master/src/js/core/index.js#L38>\r\n\r\ni also tried to move the `require` statement to [Line 55](https://github.com/willin/gitbook-plugin-theme-material/blob/master/src/js/core/index.js#L55) still not work\r\n\r\nAdd supplemental screenshots or code examples. Look for a codepen template in our Contributing Guidelines.\r\n\r\n<img width=\"1677\" alt=\"wx20170227-162402 2x\" src=\"https://cloud.githubusercontent.com/assets/1890238/23353906/bc7eebda-fd09-11e6-9b93-b1f70adbbe58.png\">\r\n\r\nbut if i use getScript it works.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/comments/282886927","html_url":"https://github.com/Dogfalo/materialize/issues/4295#issuecomment-282886927","issue_url":"https://api.github.com/repos/Dogfalo/materialize/issues/4295","id":282886927,"user":{"login":"Dogfalo","id":2775751,"avatar_url":"https://avatars.githubusercontent.com/u/2775751?v=3","gravatar_id":"","url":"https://api.github.com/users/Dogfalo","html_url":"https://github.com/Dogfalo","followers_url":"https://api.github.com/users/Dogfalo/followers","following_url":"https://api.github.com/users/Dogfalo/following{/other_user}","gists_url":"https://api.github.com/users/Dogfalo/gists{/gist_id}","starred_url":"https://api.github.com/users/Dogfalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dogfalo/subscriptions","organizations_url":"https://api.github.com/users/Dogfalo/orgs","repos_url":"https://api.github.com/users/Dogfalo/repos","events_url":"https://api.github.com/users/Dogfalo/events{/privacy}","received_events_url":"https://api.github.com/users/Dogfalo/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T23:07:50Z","updated_at":"2017-02-27T23:07:50Z","body":"Duplicate issue"}}
{"actor":{"display_login":"Dogfalo"}}