{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/registry/issues/224","labels_url":"https://api.github.com/repos/jspm/registry/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/jspm/registry/issues/224/comments","events_url":"https://api.github.com/repos/jspm/registry/issues/224/events","html_url":"https://github.com/jspm/registry/issues/224","id":58560004,"number":224,"title":"Materialize css","user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-02-23T09:08:47Z","updated_at":"2015-08-27T17:07:09Z","closed_at":null,"body":"From https://github.com/jspm/jspm-cli/issues/536 - \r\n\r\nHi there,\r\n\r\nI'm having a hard time getting something fairly basic to work and hoping for a nudge in the direction. The issue is similar to [another issue](https://github.com/jspm/registry/issues/40) but the information listed on the ticket don't seem to help me.\r\n\r\nI pushed a [test repo](https://github.com/chrisronline/jspm-stuck) up as a discussion point and will outline my issues referencing the lines of code in there. I want to load the main JS file from [materializecss](https://github.com/Dogfalo/materialize) and with my current code, I get an error: ```Uncaught ReferenceError: jQuery is not defined```\r\n\r\n1. After going through the basic jspm setup, I tried installing with this command:\r\n```jspm install github:dogfalo/materialize -o \"{ main: 'js/bin/materialize.js', shim: { 'js/bin/materialize.js': ['jquery'] } }\"``` However, running this command (or just ```jspm install github:dogfalo/materialize```) doesn't seem to describe any hard dependency on ```jquery``` in either ```package.json``` or ```config.js```\r\n2. I tried manually [defining a shim](https://github.com/chrisronline/jspm-stuck/blob/master/config.js#L7) to describe the hard dependency\r\n3. If I try to define information within ```package.json```, any ```jspm install``` command removes the changes for whatever reason (tried what is described [here](https://github.com/jspm/jspm-cli/issues/175))\r\n\r\nI'd absolutely love any pointers or tips on how to solve this seemingly simple problem.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jspm/registry/issues/comments/135494554","html_url":"https://github.com/jspm/registry/issues/224#issuecomment-135494554","issue_url":"https://api.github.com/repos/jspm/registry/issues/224","id":135494554,"user":{"login":"imvecino","id":6864085,"avatar_url":"https://avatars.githubusercontent.com/u/6864085?v=3","gravatar_id":"","url":"https://api.github.com/users/imvecino","html_url":"https://github.com/imvecino","followers_url":"https://api.github.com/users/imvecino/followers","following_url":"https://api.github.com/users/imvecino/following{/other_user}","gists_url":"https://api.github.com/users/imvecino/gists{/gist_id}","starred_url":"https://api.github.com/users/imvecino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imvecino/subscriptions","organizations_url":"https://api.github.com/users/imvecino/orgs","repos_url":"https://api.github.com/users/imvecino/repos","events_url":"https://api.github.com/users/imvecino/events{/privacy}","received_events_url":"https://api.github.com/users/imvecino/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T17:07:09Z","updated_at":"2015-08-27T17:07:09Z","body":"Hi,\r\n\r\nI'm new to this and would like to know if materializecss can be used when also using Aurelia. So far what I've done that's running is jspm init on my root, install Aurelia and create the app.js but already importing aurelia-bootstrapper. From here everything works fine.\r\n\r\nHowever, when I try using materializecss after install it with  jspm install github:dogfalo/materialize or with the options from the first comment, materializecss does not seem to work.\r\n\r\nTo test this, what I did was to copy the sample from the materializecss collapsible sample markup enclosed in <template> tags like this:\r\n\r\n<template>\r\n\t<ul class=\"collapsible\" data-collapsible=\"accordion\">\r\n\t\t<li>\r\n\t\t\t<div class=\"collapsible-header\"><i class=\"material-icons\">filter_drama</i>First</div>\r\n\t\t\t<div class=\"collapsible-body\"><p>Lorem ipsum dolor sit amet.</p></div>\r\n\t\t</li>\r\n\t\t<li>\r\n\t\t\t<div class=\"collapsible-header\"><i class=\"material-icons\">place</i>Second</div>\r\n\t\t\t<div class=\"collapsible-body\"><p>Lorem ipsum dolor sit amet.</p></div>\r\n\t\t</li>\r\n\t\t<li>\r\n\t\t\t<div class=\"collapsible-header\"><i class=\"material-icons\">whatshot</i>Third</div>\r\n\t\t\t<div class=\"collapsible-body\"><p>Lorem ipsum dolor sit amet.</p></div>\r\n\t\t</li>\r\n\t</ul>\r\n</template>\r\n\r\nand also pasted this line inside the head section of the index.html file so that I can use the icons:\r\n\r\n<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n\r\nWhen I browse the index.html file it renders the collapsible javascript component but nothings happens when I click on any of the component's headers It's supposed to show the collapsible body.\r\n\r\nPlease let me know how to fix this. I have been trying almost every night for several days but I can't seem to make it work."}}