{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/195","repository_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge","labels_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/195/comments","events_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/195/events","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/195","id":162342048,"number":195,"title":"Missing materialize dependency","user":{"login":"code-chris","id":14875968,"avatar_url":"https://avatars.githubusercontent.com/u/14875968?v=3","gravatar_id":"","url":"https://api.github.com/users/code-chris","html_url":"https://github.com/code-chris","followers_url":"https://api.github.com/users/code-chris/followers","following_url":"https://api.github.com/users/code-chris/following{/other_user}","gists_url":"https://api.github.com/users/code-chris/gists{/gist_id}","starred_url":"https://api.github.com/users/code-chris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-chris/subscriptions","organizations_url":"https://api.github.com/users/code-chris/orgs","repos_url":"https://api.github.com/users/code-chris/repos","events_url":"https://api.github.com/users/code-chris/events{/privacy}","received_events_url":"https://api.github.com/users/code-chris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-26T19:03:06Z","updated_at":"2016-06-27T21:02:29Z","closed_at":null,"body":"Hi,\r\nI've seen that the materialize dependency is missing as npm dependency. It is only listed in the jspm section. Therefore it isn't installed through npm.\r\n\r\nFurthermore the library \"materialize\" seems to be another lib than \"materialize-css\" ....."},"comment":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/comments/228874480","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/195#issuecomment-228874480","issue_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-materialize-bridge/issues/195","id":228874480,"user":{"login":"Thanood","id":677826,"avatar_url":"https://avatars.githubusercontent.com/u/677826?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanood","html_url":"https://github.com/Thanood","followers_url":"https://api.github.com/users/Thanood/followers","following_url":"https://api.github.com/users/Thanood/following{/other_user}","gists_url":"https://api.github.com/users/Thanood/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanood/subscriptions","organizations_url":"https://api.github.com/users/Thanood/orgs","repos_url":"https://api.github.com/users/Thanood/repos","events_url":"https://api.github.com/users/Thanood/events{/privacy}","received_events_url":"https://api.github.com/users/Thanood/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T21:02:29Z","updated_at":"2016-06-27T21:02:29Z","body":"That is just a convenience addition. Users could as well import that in `main.js` before activating the bridge. With SystemJS it would be easy to create an alias for materialize-css which would be called \"materialize\" to make this work. Or at least that has been my thought at that time. :smile: \r\n\r\nI'm not sure if it's (easily) possible with requirejs, pretty sure that it's possible with webpack.\r\nActually, I know it's possible with requirejs but I don't know how that would work with the current version of the CLI.\r\n\r\nI couldn't find any good solution for requirejs - or at least any solution that is not a fork of requirejs. For webpack there is at least this loader: https://github.com/Zevran/materialize-loader\r\n\r\nBut I agree that the import in `index.js` is not really a good way to load Materialize when the source of that library should be a user's choice.\r\n"}}
{"actor":{"display_login":"Thanood"}}