{"action":"created","issue":{"url":"https://api.github.com/repos/nhnent/tui.chart/issues/77","repository_url":"https://api.github.com/repos/nhnent/tui.chart","labels_url":"https://api.github.com/repos/nhnent/tui.chart/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/nhnent/tui.chart/issues/77/comments","events_url":"https://api.github.com/repos/nhnent/tui.chart/issues/77/events","html_url":"https://github.com/nhnent/tui.chart/issues/77","id":309910850,"number":77,"title":"In ES6 node.js, import {chart} does not work ","user":{"login":"shinjayne","id":23435310,"avatar_url":"https://avatars1.githubusercontent.com/u/23435310?v=4","gravatar_id":"","url":"https://api.github.com/users/shinjayne","html_url":"https://github.com/shinjayne","followers_url":"https://api.github.com/users/shinjayne/followers","following_url":"https://api.github.com/users/shinjayne/following{/other_user}","gists_url":"https://api.github.com/users/shinjayne/gists{/gist_id}","starred_url":"https://api.github.com/users/shinjayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinjayne/subscriptions","organizations_url":"https://api.github.com/users/shinjayne/orgs","repos_url":"https://api.github.com/users/shinjayne/repos","events_url":"https://api.github.com/users/shinjayne/events{/privacy}","received_events_url":"https://api.github.com/users/shinjayne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-29T21:32:51Z","updated_at":"2018-03-30T07:40:36Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nThank you for your contribution.\r\n\r\nWhen it comes to write an issue, please, use the template below.\r\nTo use the template is mandatory for submit new issue and we won't reply the issue that without the template.\r\n-->\r\n\r\n<!-- TEMPLATE -->\r\n\r\n## Version\r\n<!-- Write the version of the grid you are currently using. -->\r\ntui-chart 3.0.1\r\n\r\n## Development Environment\r\n<!-- Write the browser type, OS and so on -->\r\nnode.js, webpack\r\n\r\n## Current Behavior\r\n<!-- Write a description of the current operation. You can add sample code, 'CodePen' or 'jsfiddle' links. -->\r\n\r\nIf I import like below (just as the documentation described), I only get `undefined`. \r\n```js\r\nimport { chart } from 'tui-chart'\r\n\r\nconsole.log( chart );\r\n// undefined\r\n```\r\n\r\nBut if I import like this, It works! Just as expected.\r\n```js\r\nimport  myChart  from 'tui-chart'\r\n\r\nconsole.log( myChart );\r\n// {barChart: ƒ, columnChart: ƒ, lineChart: ƒ, areaChart: ƒ, bubbleChart: ƒ, …}\r\n```\r\nI think something is wrong ...\r\n\r\nCould someone explain about this thing ? \r\n\r\n\r\n## Expected Behavior\r\n<!-- Write a description of the future action. -->\r\nExpected Behavior (described in documentation) is like below.\r\n```js\r\nimport  {chart}  from 'tui-chart'\r\n\r\nconsole.log( chart );\r\n// {barChart: ƒ, columnChart: ƒ, lineChart: ƒ, areaChart: ƒ, bubbleChart: ƒ, …}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/nhnent/tui.chart/issues/comments/377467903","html_url":"https://github.com/nhnent/tui.chart/issues/77#issuecomment-377467903","issue_url":"https://api.github.com/repos/nhnent/tui.chart/issues/77","id":377467903,"user":{"login":"shinjayne","id":23435310,"avatar_url":"https://avatars1.githubusercontent.com/u/23435310?v=4","gravatar_id":"","url":"https://api.github.com/users/shinjayne","html_url":"https://github.com/shinjayne","followers_url":"https://api.github.com/users/shinjayne/followers","following_url":"https://api.github.com/users/shinjayne/following{/other_user}","gists_url":"https://api.github.com/users/shinjayne/gists{/gist_id}","starred_url":"https://api.github.com/users/shinjayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinjayne/subscriptions","organizations_url":"https://api.github.com/users/shinjayne/orgs","repos_url":"https://api.github.com/users/shinjayne/repos","events_url":"https://api.github.com/users/shinjayne/events{/privacy}","received_events_url":"https://api.github.com/users/shinjayne/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T07:40:36Z","updated_at":"2018-03-30T07:40:36Z","author_association":"NONE","body":"Oh thanks. It really helps :-) "}}
{"actor":{"display_login":"shinjayne"}}