{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/408","repository_url":"https://api.github.com/repos/JuliaLang/IJulia.jl","labels_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/408/comments","events_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/408/events","html_url":"https://github.com/JuliaLang/IJulia.jl/issues/408","id":136237510,"number":408,"title":"The %%javascript works with Python Kernel but not Julia","user":{"login":"ahwillia","id":636625,"avatar_url":"https://avatars.githubusercontent.com/u/636625?v=3","gravatar_id":"","url":"https://api.github.com/users/ahwillia","html_url":"https://github.com/ahwillia","followers_url":"https://api.github.com/users/ahwillia/followers","following_url":"https://api.github.com/users/ahwillia/following{/other_user}","gists_url":"https://api.github.com/users/ahwillia/gists{/gist_id}","starred_url":"https://api.github.com/users/ahwillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahwillia/subscriptions","organizations_url":"https://api.github.com/users/ahwillia/orgs","repos_url":"https://api.github.com/users/ahwillia/repos","events_url":"https://api.github.com/users/ahwillia/events{/privacy}","received_events_url":"https://api.github.com/users/ahwillia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-02-25T00:45:43Z","updated_at":"2016-08-20T04:37:23Z","closed_at":"2016-02-25T19:39:13Z","body":"Adding a `%%javascript` magic at the top of a cell causes the cell to execute javascript code with my Python kernel. But when running a Julia kernel: \r\n\r\n```\r\n%%javascript\r\nconsole.log(\"hello world\")\r\n```\r\n\r\nProduces:\r\n\r\n```\r\nLoadError: syntax: \"%\" is not a unary operator\r\nwhile loading In[2], in expression starting on line 1\r\n```\r\n\r\nI'm running Julia 0.4.2. This is my Jupyter version:\r\n\r\n```\r\nPython 2.7.11 |Anaconda 2.5.0 (64-bit)| (default, Dec  6 2015, 18:08:32) \r\n[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/comments/241178909","html_url":"https://github.com/JuliaLang/IJulia.jl/issues/408#issuecomment-241178909","issue_url":"https://api.github.com/repos/JuliaLang/IJulia.jl/issues/408","id":241178909,"user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars.githubusercontent.com/u/2913679?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T04:37:23Z","updated_at":"2016-08-20T04:37:23Z","body":"Also, some of the magics, like `%matplotlib`, would be impossible to implement without pulling in unacceptable dependencies, in this case PyPlot.   Instead, the help can just point to the relevant package(s)."}}
{"actor":{"display_login":"stevengj"}}