{"action":"created","issue":{"url":"https://api.github.com/repos/ScottLogic/d3fc-showcase/issues/138","labels_url":"https://api.github.com/repos/ScottLogic/d3fc-showcase/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/ScottLogic/d3fc-showcase/issues/138/comments","events_url":"https://api.github.com/repos/ScottLogic/d3fc-showcase/issues/138/events","html_url":"https://github.com/ScottLogic/d3fc-showcase/issues/138","id":101695239,"number":138,"title":"Manage dependencies with RequireJS or appropriate alternative","user":{"login":"janakerman","id":3799225,"avatar_url":"https://avatars.githubusercontent.com/u/3799225?v=3","gravatar_id":"","url":"https://api.github.com/users/janakerman","html_url":"https://github.com/janakerman","followers_url":"https://api.github.com/users/janakerman/followers","following_url":"https://api.github.com/users/janakerman/following{/other_user}","gists_url":"https://api.github.com/users/janakerman/gists{/gist_id}","starred_url":"https://api.github.com/users/janakerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janakerman/subscriptions","organizations_url":"https://api.github.com/users/janakerman/orgs","repos_url":"https://api.github.com/users/janakerman/repos","events_url":"https://api.github.com/users/janakerman/events{/privacy}","received_events_url":"https://api.github.com/users/janakerman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ScottLogic/d3fc-showcase/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-18T16:29:45Z","updated_at":"2015-10-27T17:19:22Z","closed_at":"2015-10-27T17:19:22Z","body":"After speaking with @jleft last week he mentioned that it may be a good idea to use some kind of JS module library (e.g require JS). However, this would only be suggested if there was a need for it.\r\n\r\nI've created this issue to build up information so we can assess that need.\r\n\r\n* [Index.html] (https://github.com/ScottLogic/d3fc-showcase/blob/develop/src/index.html#L82) is importing all of the scripts individually, and we're managing the ordering and dependancies here manually. This seems to be working fine at the moment.\r\n* In the [Jasmine config](https://github.com/ScottLogic/d3fc-showcase/pull/84/files#diff-35b4a816e0441e6a375cd925af50752cR254) we're adding the test scripts manually. We can't use a pattern matcher like `**/*.js` as we need to handle the script ordering ourselves (@CBarrett2 - feel free to elaborate on this). This doesn't feel maintainable."},"comment":{"url":"https://api.github.com/repos/ScottLogic/d3fc-showcase/issues/comments/151575437","html_url":"https://github.com/ScottLogic/d3fc-showcase/issues/138#issuecomment-151575437","issue_url":"https://api.github.com/repos/ScottLogic/d3fc-showcase/issues/138","id":151575437,"user":{"login":"jleft","id":2017615,"avatar_url":"https://avatars.githubusercontent.com/u/2017615?v=3","gravatar_id":"","url":"https://api.github.com/users/jleft","html_url":"https://github.com/jleft","followers_url":"https://api.github.com/users/jleft/followers","following_url":"https://api.github.com/users/jleft/following{/other_user}","gists_url":"https://api.github.com/users/jleft/gists{/gist_id}","starred_url":"https://api.github.com/users/jleft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleft/subscriptions","organizations_url":"https://api.github.com/users/jleft/orgs","repos_url":"https://api.github.com/users/jleft/repos","events_url":"https://api.github.com/users/jleft/events{/privacy}","received_events_url":"https://api.github.com/users/jleft/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T17:19:22Z","updated_at":"2015-10-27T17:19:22Z","body":"Replaced by #329 "}}