{"action":"created","issue":{"url":"https://api.github.com/repos/mde/ejs/issues/228","repository_url":"https://api.github.com/repos/mde/ejs","labels_url":"https://api.github.com/repos/mde/ejs/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/mde/ejs/issues/228/comments","events_url":"https://api.github.com/repos/mde/ejs/issues/228/events","html_url":"https://github.com/mde/ejs/issues/228","id":199291400,"number":228,"title":"ejs in a headless environment","user":{"login":"CarbonMan","id":5210833,"avatar_url":"https://avatars.githubusercontent.com/u/5210833?v=3","gravatar_id":"","url":"https://api.github.com/users/CarbonMan","html_url":"https://github.com/CarbonMan","followers_url":"https://api.github.com/users/CarbonMan/followers","following_url":"https://api.github.com/users/CarbonMan/following{/other_user}","gists_url":"https://api.github.com/users/CarbonMan/gists{/gist_id}","starred_url":"https://api.github.com/users/CarbonMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarbonMan/subscriptions","organizations_url":"https://api.github.com/users/CarbonMan/orgs","repos_url":"https://api.github.com/users/CarbonMan/repos","events_url":"https://api.github.com/users/CarbonMan/events{/privacy}","received_events_url":"https://api.github.com/users/CarbonMan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-01-06T21:18:17Z","updated_at":"2017-01-06T21:44:25Z","closed_at":"2017-01-06T21:37:14Z","body":"I am using ejs in Jint a .Net JS environment. The following code does not load ejs although there is no error during the eval(..)\r\nI have defined a window object. \r\nconsole.log is a mock replacement for the browser version.\r\nhost.getInputFileContents(..) returns a string of the file from the host.\r\nAfter the eval ejs is undefined.\r\n\r\n if (typeof ejs === \"undefined\") {\r\n    var js = host.getInputFileContents(\"wwwpub\\\\js\\\\ejs.js\");\r\n    eval(js);\r\n    if (typeof ejs == \"undefined\"){\r\n        console.log(\"ejs did not load\");\r\n    }\r\n}"},"comment":{"url":"https://api.github.com/repos/mde/ejs/issues/comments/271016132","html_url":"https://github.com/mde/ejs/issues/228#issuecomment-271016132","issue_url":"https://api.github.com/repos/mde/ejs/issues/228","id":271016132,"user":{"login":"RyanZim","id":17342435,"avatar_url":"https://avatars.githubusercontent.com/u/17342435?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanZim","html_url":"https://github.com/RyanZim","followers_url":"https://api.github.com/users/RyanZim/followers","following_url":"https://api.github.com/users/RyanZim/following{/other_user}","gists_url":"https://api.github.com/users/RyanZim/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanZim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanZim/subscriptions","organizations_url":"https://api.github.com/users/RyanZim/orgs","repos_url":"https://api.github.com/users/RyanZim/repos","events_url":"https://api.github.com/users/RyanZim/events{/privacy}","received_events_url":"https://api.github.com/users/RyanZim/received_events","type":"User","site_admin":false},"created_at":"2017-01-06T21:44:25Z","updated_at":"2017-01-06T21:44:25Z","body":"No prob"}}
{"actor":{"display_login":"RyanZim"}}