{"action":"created","issue":{"url":"https://api.github.com/repos/jonbretman/jinja-to-js/issues/21","repository_url":"https://api.github.com/repos/jonbretman/jinja-to-js","labels_url":"https://api.github.com/repos/jonbretman/jinja-to-js/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/jonbretman/jinja-to-js/issues/21/comments","events_url":"https://api.github.com/repos/jonbretman/jinja-to-js/issues/21/events","html_url":"https://github.com/jonbretman/jinja-to-js/issues/21","id":173618623,"number":21,"title":"Using jinja-to-js in a non-module context, small bug","user":{"login":"wiltzius","id":245229,"avatar_url":"https://avatars.githubusercontent.com/u/245229?v=3","gravatar_id":"","url":"https://api.github.com/users/wiltzius","html_url":"https://github.com/wiltzius","followers_url":"https://api.github.com/users/wiltzius/followers","following_url":"https://api.github.com/users/wiltzius/following{/other_user}","gists_url":"https://api.github.com/users/wiltzius/gists{/gist_id}","starred_url":"https://api.github.com/users/wiltzius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiltzius/subscriptions","organizations_url":"https://api.github.com/users/wiltzius/orgs","repos_url":"https://api.github.com/users/wiltzius/repos","events_url":"https://api.github.com/users/wiltzius/events{/privacy}","received_events_url":"https://api.github.com/users/wiltzius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-27T22:29:15Z","updated_at":"2016-09-01T20:56:29Z","closed_at":"2016-09-01T09:48:46Z","body":"Hi there,\r\n\r\nI'm playing around with this project to see if we could use it to share template code between our client and server. So far it looks very promising!\r\n\r\nUnfortunately, we use AngularJS dependency injection instead of modules and bower instead of npm for dependencies, which means installing the runtime was a bit of a challenge. I had to copy the runtime file, which isn't too big a big deal although it would be nice to have instructions to do so if you don't use npm.\r\n\r\nPart of the challenge was due to one small bug: the module definition wrapper has a misnamed variable in the non-AMD, non-CommonJS case. `root` should be `global` in the immediately invoked expression at the top of the file.\r\n\r\nThis is trivial to fix, but if you'd like I'm happy to make a pull request.\r\n\r\nThanks!\r\nTom\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jonbretman/jinja-to-js/issues/comments/244209807","html_url":"https://github.com/jonbretman/jinja-to-js/issues/21#issuecomment-244209807","issue_url":"https://api.github.com/repos/jonbretman/jinja-to-js/issues/21","id":244209807,"user":{"login":"wiltzius","id":245229,"avatar_url":"https://avatars.githubusercontent.com/u/245229?v=3","gravatar_id":"","url":"https://api.github.com/users/wiltzius","html_url":"https://github.com/wiltzius","followers_url":"https://api.github.com/users/wiltzius/followers","following_url":"https://api.github.com/users/wiltzius/following{/other_user}","gists_url":"https://api.github.com/users/wiltzius/gists{/gist_id}","starred_url":"https://api.github.com/users/wiltzius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiltzius/subscriptions","organizations_url":"https://api.github.com/users/wiltzius/orgs","repos_url":"https://api.github.com/users/wiltzius/repos","events_url":"https://api.github.com/users/wiltzius/events{/privacy}","received_events_url":"https://api.github.com/users/wiltzius/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T20:56:29Z","updated_at":"2016-09-01T20:56:29Z","body":"Thanks!"}}
{"actor":{"display_login":"wiltzius"}}