{"action":"created","issue":{"url":"https://api.github.com/repos/giscafer/front-end-manual/issues/6","repository_url":"https://api.github.com/repos/giscafer/front-end-manual","labels_url":"https://api.github.com/repos/giscafer/front-end-manual/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/giscafer/front-end-manual/issues/6/comments","events_url":"https://api.github.com/repos/giscafer/front-end-manual/issues/6/events","html_url":"https://github.com/giscafer/front-end-manual/issues/6","id":171092175,"number":6,"title":"Angular1.x + ES6 开发","user":{"login":"giscafer","id":8676711,"avatar_url":"https://avatars.githubusercontent.com/u/8676711?v=3","gravatar_id":"","url":"https://api.github.com/users/giscafer","html_url":"https://github.com/giscafer","followers_url":"https://api.github.com/users/giscafer/followers","following_url":"https://api.github.com/users/giscafer/following{/other_user}","gists_url":"https://api.github.com/users/giscafer/gists{/gist_id}","starred_url":"https://api.github.com/users/giscafer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giscafer/subscriptions","organizations_url":"https://api.github.com/users/giscafer/orgs","repos_url":"https://api.github.com/users/giscafer/repos","events_url":"https://api.github.com/users/giscafer/events{/privacy}","received_events_url":"https://api.github.com/users/giscafer/received_events","type":"User","site_admin":false},"labels":[{"id":404735116,"url":"https://api.github.com/repos/giscafer/front-end-manual/labels/A&Q","name":"A&Q","color":"d4c5f9","default":false},{"id":424858686,"url":"https://api.github.com/repos/giscafer/front-end-manual/labels/Angular","name":"Angular","color":"bfdadc","default":false},{"id":424858715,"url":"https://api.github.com/repos/giscafer/front-end-manual/labels/%E5%89%8D%E7%AB%AF%E6%A1%86%E6%9E%B6","name":"前端框架","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-15T01:05:04Z","updated_at":"2016-12-09T07:35:14Z","closed_at":null,"body":"Angular 1.x和ES6的结合\nhttps://github.com/xufei/blog/issues/29\n\nAngular1.x + ES6 开发风格指南\nhttps://github.com/kuitos/kuitos.github.io/issues/34\n"},"comment":{"url":"https://api.github.com/repos/giscafer/front-end-manual/issues/comments/265952044","html_url":"https://github.com/giscafer/front-end-manual/issues/6#issuecomment-265952044","issue_url":"https://api.github.com/repos/giscafer/front-end-manual/issues/6","id":265952044,"user":{"login":"giscafer","id":8676711,"avatar_url":"https://avatars.githubusercontent.com/u/8676711?v=3","gravatar_id":"","url":"https://api.github.com/users/giscafer","html_url":"https://github.com/giscafer","followers_url":"https://api.github.com/users/giscafer/followers","following_url":"https://api.github.com/users/giscafer/following{/other_user}","gists_url":"https://api.github.com/users/giscafer/gists{/gist_id}","starred_url":"https://api.github.com/users/giscafer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giscafer/subscriptions","organizations_url":"https://api.github.com/users/giscafer/orgs","repos_url":"https://api.github.com/users/giscafer/repos","events_url":"https://api.github.com/users/giscafer/events{/privacy}","received_events_url":"https://api.github.com/users/giscafer/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T07:35:14Z","updated_at":"2016-12-09T07:35:14Z","body":"@heidsoft 不支持自己改一下就可以了。看有没有UMD判断，比如下边的这些判断\r\n```javascript\r\n(function (root, factory) {\r\n  if (typeof define === 'function' && define.amd) {\r\n    // AMD. Register as an anonymous module unless amdModuleId is set\r\n    define('textAngular', [\"rangy\",\"rangy/lib/rangy-selectionsaverestore\"], function (a0,b1) {\r\n      return (root['textAngular.name'] = factory(a0,b1));\r\n    });\r\n  } else if (typeof exports === 'object') {\r\n    // Node. Does not work with strict CommonJS, but\r\n    // only CommonJS-like environments that support module.exports,\r\n    // like Node.\r\n    module.exports = factory(require(\"rangy\"),require(\"rangy/lib/rangy-selectionsaverestore\"));\r\n  } else {\r\n    root['textAngular'] = factory(rangy);\r\n  }\r\n}(module.exports, function (rangy) {\r\n//……\r\n})\r\n```\r\n有这些判断就是支持的，没有你就手动改呀，也简单。网上很多js库一般都支持的（现在不支持的建议都不用哦），也可以下载到现成的"}}
{"actor":{"display_login":"giscafer"}}