{"action":"created","issue":{"url":"https://api.github.com/repos/xQuotes/blog/issues/67","repository_url":"https://api.github.com/repos/xQuotes/blog","labels_url":"https://api.github.com/repos/xQuotes/blog/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/xQuotes/blog/issues/67/comments","events_url":"https://api.github.com/repos/xQuotes/blog/issues/67/events","html_url":"https://github.com/xQuotes/blog/issues/67","id":223116603,"number":67,"title":"Module 模块","user":{"login":"xQuotes","id":19151604,"avatar_url":"https://avatars0.githubusercontent.com/u/19151604?v=3","gravatar_id":"","url":"https://api.github.com/users/xQuotes","html_url":"https://github.com/xQuotes","followers_url":"https://api.github.com/users/xQuotes/followers","following_url":"https://api.github.com/users/xQuotes/following{/other_user}","gists_url":"https://api.github.com/users/xQuotes/gists{/gist_id}","starred_url":"https://api.github.com/users/xQuotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xQuotes/subscriptions","organizations_url":"https://api.github.com/users/xQuotes/orgs","repos_url":"https://api.github.com/users/xQuotes/repos","events_url":"https://api.github.com/users/xQuotes/events{/privacy}","received_events_url":"https://api.github.com/users/xQuotes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-20T15:58:27Z","updated_at":"2017-04-20T16:07:42Z","closed_at":null,"body":"- CommonJS  服务器\r\n- AMD  浏览器 （require.js）\r\n- CMD 浏览器 （sea.js）\r\n- ES6 Module 服务器／浏览器 （Babel）\r\n\r\n```js\r\n// CommonJS模块\r\nlet { stat, exists, readFile } = require('fs');\r\n\r\n\r\n// ES6模块\r\nimport { stat, exists, readFile } from 'fs';\r\n\r\n <script type=\"module\" src=\"foo.js\"></script>\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/xQuotes/blog/issues/comments/295794421","html_url":"https://github.com/xQuotes/blog/issues/67#issuecomment-295794421","issue_url":"https://api.github.com/repos/xQuotes/blog/issues/67","id":295794421,"user":{"login":"xQuotes","id":19151604,"avatar_url":"https://avatars0.githubusercontent.com/u/19151604?v=3","gravatar_id":"","url":"https://api.github.com/users/xQuotes","html_url":"https://github.com/xQuotes","followers_url":"https://api.github.com/users/xQuotes/followers","following_url":"https://api.github.com/users/xQuotes/following{/other_user}","gists_url":"https://api.github.com/users/xQuotes/gists{/gist_id}","starred_url":"https://api.github.com/users/xQuotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xQuotes/subscriptions","organizations_url":"https://api.github.com/users/xQuotes/orgs","repos_url":"https://api.github.com/users/xQuotes/repos","events_url":"https://api.github.com/users/xQuotes/events{/privacy}","received_events_url":"https://api.github.com/users/xQuotes/received_events","type":"User","site_admin":false},"created_at":"2017-04-20T16:07:42Z","updated_at":"2017-04-20T16:07:42Z","body":"## import\r\n\r\n```js\r\n// main.js\r\nimport profile, {\r\n  firstName,\r\n  lastName as name, \r\n  year\r\n} from './profile';\r\n\r\nfunction setName(element) {\r\n  element.textContent = firstName + ' ' + lastName;\r\n}\r\n```"}}
{"actor":{"display_login":"xQuotes"}}