{"action":"opened","issue":{"url":"https://api.github.com/repos/asmblah/uniter/issues/20","labels_url":"https://api.github.com/repos/asmblah/uniter/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/asmblah/uniter/issues/20/comments","events_url":"https://api.github.com/repos/asmblah/uniter/issues/20/events","html_url":"https://github.com/asmblah/uniter/issues/20","id":93558425,"number":20,"title":"define(...) and NodeJS","user":{"login":"IngwiePhoenix","id":2893716,"avatar_url":"https://avatars.githubusercontent.com/u/2893716?v=3","gravatar_id":"","url":"https://api.github.com/users/IngwiePhoenix","html_url":"https://github.com/IngwiePhoenix","followers_url":"https://api.github.com/users/IngwiePhoenix/followers","following_url":"https://api.github.com/users/IngwiePhoenix/following{/other_user}","gists_url":"https://api.github.com/users/IngwiePhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/IngwiePhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngwiePhoenix/subscriptions","organizations_url":"https://api.github.com/users/IngwiePhoenix/orgs","repos_url":"https://api.github.com/users/IngwiePhoenix/repos","events_url":"https://api.github.com/users/IngwiePhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/IngwiePhoenix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T15:30:16Z","updated_at":"2015-07-07T15:30:16Z","closed_at":null,"body":"https://www.npmjs.com/package/amdefine\r\n\r\nYou might be interested in this since I see that Uniter still uses `define()`. I also am suggesting this because of NodeJS. Having it require the `dist/uniter.js` file loads a lot of overhead and could, in one way or another, confuse the system.\r\n\r\nChanging `index.js` to use `require(\"amdefine/intercept\")` and then `module.exports = require(\"./js/main\")` will enable NodeJS to properly load the modules without the confusion of the browserify bundle."}}