{"action":"created","issue":{"url":"https://api.github.com/repos/amber-smalltalk/amber-documentation/issues/44","labels_url":"https://api.github.com/repos/amber-smalltalk/amber-documentation/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/amber-smalltalk/amber-documentation/issues/44/comments","events_url":"https://api.github.com/repos/amber-smalltalk/amber-documentation/issues/44/events","html_url":"https://github.com/amber-smalltalk/amber-documentation/issues/44","id":54353147,"number":44,"title":"Add to FAQ: How do I create the path in an *.amd.json file?","user":{"login":"hhzl","id":1112023,"avatar_url":"https://avatars.githubusercontent.com/u/1112023?v=3","gravatar_id":"","url":"https://api.github.com/users/hhzl","html_url":"https://github.com/hhzl","followers_url":"https://api.github.com/users/hhzl/followers","following_url":"https://api.github.com/users/hhzl/following{/other_user}","gists_url":"https://api.github.com/users/hhzl/gists{/gist_id}","starred_url":"https://api.github.com/users/hhzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhzl/subscriptions","organizations_url":"https://api.github.com/users/hhzl/orgs","repos_url":"https://api.github.com/users/hhzl/repos","events_url":"https://api.github.com/users/hhzl/events{/privacy}","received_events_url":"https://api.github.com/users/hhzl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/amber-smalltalk/amber-documentation/milestones/1","labels_url":"https://api.github.com/repos/amber-smalltalk/amber-documentation/milestones/1/labels","id":928900,"number":1,"title":"0.14","description":null,"creator":{"login":"hhzl","id":1112023,"avatar_url":"https://avatars.githubusercontent.com/u/1112023?v=3","gravatar_id":"","url":"https://api.github.com/users/hhzl","html_url":"https://github.com/hhzl","followers_url":"https://api.github.com/users/hhzl/followers","following_url":"https://api.github.com/users/hhzl/following{/other_user}","gists_url":"https://api.github.com/users/hhzl/gists{/gist_id}","starred_url":"https://api.github.com/users/hhzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhzl/subscriptions","organizations_url":"https://api.github.com/users/hhzl/orgs","repos_url":"https://api.github.com/users/hhzl/repos","events_url":"https://api.github.com/users/hhzl/events{/privacy}","received_events_url":"https://api.github.com/users/hhzl/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":1,"state":"open","created_at":"2015-01-09T16:49:29Z","updated_at":"2015-01-15T17:35:18Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-01-14T17:48:05Z","updated_at":"2015-01-15T18:03:01Z","closed_at":"2015-01-15T17:35:18Z","body":"Answer\r\n\r\n1. each library needs its own .amd.json file in the root directory of the project\r\n2. the path is relative to the library directory. Every single mapping is always resolved from the directory of the library.\r\n3. the *.amd.json files are used by ``grunt devel`` to construct a ``config.js`` file.\r\n\r\nSome examples of *.amd.json files\r\nhttp://stackoverflow.com/questions/27374889/how-to-add-a-non-amber-library-with-bower-for-example-processing-js"},"comment":{"url":"https://api.github.com/repos/amber-smalltalk/amber-documentation/issues/comments/70131149","html_url":"https://github.com/amber-smalltalk/amber-documentation/issues/44#issuecomment-70131149","issue_url":"https://api.github.com/repos/amber-smalltalk/amber-documentation/issues/44","id":70131149,"user":{"login":"hhzl","id":1112023,"avatar_url":"https://avatars.githubusercontent.com/u/1112023?v=3","gravatar_id":"","url":"https://api.github.com/users/hhzl","html_url":"https://github.com/hhzl","followers_url":"https://api.github.com/users/hhzl/followers","following_url":"https://api.github.com/users/hhzl/following{/other_user}","gists_url":"https://api.github.com/users/hhzl/gists{/gist_id}","starred_url":"https://api.github.com/users/hhzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhzl/subscriptions","organizations_url":"https://api.github.com/users/hhzl/orgs","repos_url":"https://api.github.com/users/hhzl/repos","events_url":"https://api.github.com/users/hhzl/events{/privacy}","received_events_url":"https://api.github.com/users/hhzl/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T18:03:01Z","updated_at":"2015-01-15T18:03:01Z","body":"I am the author of _some_ of them. How many I have lost track of.  I\nhave been curating that list for some time now. I am fine if you\nprocess them in the trello board and later push them to the FAQ on\ndocs.amber-lang.net. When that process is finished we can delete the\ncontent of the wiki page and only keep a link to the faq on\ndocs.amber-lang.net.\n\n\nOn 1/15/15, Sebastian Sastre <notifications@github.com> wrote:\n> Sure @hhzl thanks.\n>\n> Are you the author of all the other FAQ questions and answers?\n>\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/amber-smalltalk/amber-documentation/issues/44#issuecomment-70127083"}}