{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/element-angular/issues/13","repository_url":"https://api.github.com/repos/ElemeFE/element-angular","labels_url":"https://api.github.com/repos/ElemeFE/element-angular/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element-angular/issues/13/comments","events_url":"https://api.github.com/repos/ElemeFE/element-angular/issues/13/events","html_url":"https://github.com/ElemeFE/element-angular/issues/13","id":293893431,"number":13,"title":"IE11 crash","user":{"login":"Sancho66","id":9716220,"avatar_url":"https://avatars1.githubusercontent.com/u/9716220?v=4","gravatar_id":"","url":"https://api.github.com/users/Sancho66","html_url":"https://github.com/Sancho66","followers_url":"https://api.github.com/users/Sancho66/followers","following_url":"https://api.github.com/users/Sancho66/following{/other_user}","gists_url":"https://api.github.com/users/Sancho66/gists{/gist_id}","starred_url":"https://api.github.com/users/Sancho66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sancho66/subscriptions","organizations_url":"https://api.github.com/users/Sancho66/orgs","repos_url":"https://api.github.com/users/Sancho66/repos","events_url":"https://api.github.com/users/Sancho66/events{/privacy}","received_events_url":"https://api.github.com/users/Sancho66/received_events","type":"User","site_admin":false},"labels":[{"id":812146853,"url":"https://api.github.com/repos/ElemeFE/element-angular/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":812146859,"url":"https://api.github.com/repos/ElemeFE/element-angular/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":{"login":"WittBulter","id":11304944,"avatar_url":"https://avatars3.githubusercontent.com/u/11304944?v=4","gravatar_id":"","url":"https://api.github.com/users/WittBulter","html_url":"https://github.com/WittBulter","followers_url":"https://api.github.com/users/WittBulter/followers","following_url":"https://api.github.com/users/WittBulter/following{/other_user}","gists_url":"https://api.github.com/users/WittBulter/gists{/gist_id}","starred_url":"https://api.github.com/users/WittBulter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WittBulter/subscriptions","organizations_url":"https://api.github.com/users/WittBulter/orgs","repos_url":"https://api.github.com/users/WittBulter/repos","events_url":"https://api.github.com/users/WittBulter/events{/privacy}","received_events_url":"https://api.github.com/users/WittBulter/received_events","type":"User","site_admin":false},"assignees":[{"login":"WittBulter","id":11304944,"avatar_url":"https://avatars3.githubusercontent.com/u/11304944?v=4","gravatar_id":"","url":"https://api.github.com/users/WittBulter","html_url":"https://github.com/WittBulter","followers_url":"https://api.github.com/users/WittBulter/followers","following_url":"https://api.github.com/users/WittBulter/following{/other_user}","gists_url":"https://api.github.com/users/WittBulter/gists{/gist_id}","starred_url":"https://api.github.com/users/WittBulter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WittBulter/subscriptions","organizations_url":"https://api.github.com/users/WittBulter/orgs","repos_url":"https://api.github.com/users/WittBulter/repos","events_url":"https://api.github.com/users/WittBulter/events{/privacy}","received_events_url":"https://api.github.com/users/WittBulter/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-02-02T13:47:00Z","updated_at":"2018-02-07T05:31:00Z","closed_at":null,"author_association":"NONE","body":"Issue Type:\r\n- [ ] Bug \r\nIE11 crash when I load an element-angular component. \r\n\r\nVersion & Environment:  \r\nIE11 , angular 5.0 \r\nAll polyfills are imported for IE11 in polyfills.ts.\r\n\r\nDescription:\r\nIE11 crash when I load an element-angular component. On Chrome browser it works but in our company we must use IE11...\r\nWhen I comment in source code all element-angular dependencies , it works on IE11.\r\n\r\nIn IE inspector :\r\n\r\n<code> /***/ \"../../../../element-angular/release/element-angular.module.js\":\r\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\r\n\r\n\"use strict\";\r\neval(\"Object.defineProperty(__webpack_exports__, \\\"__esModule\\\", { value: true });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\"ElModule\\\", function() { return ElModule; });\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(\\\"../../../core/esm5/core.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__message_message_service__ = __webpack_require__(\\\"../../../../element-angular/release/message/message.service.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__notification_notification_service__ = __webpack_require__(\\\"../../../../element-angular/release/notification/notification.service.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__shared_module__ = __webpack_require__(\\\"../../../../element-angular/release/shared/module.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__button_module__ = __webpack_require__(\\\"../../../../element-angular/release/button/module.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__checkbox_module__ = __webpack_require__(\\\"../../../../element-angular/release/checkbox/module.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__icon_module__ = __webpack_require__(\\\"../../../../element-angular/release/icon/module.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__radio_module__ = __webpack_require__(\\\"../../../../element-angular/release/radio/module.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__menu_module__ = __webpack_require__ ... </code> and in console \"SCRIPT1002: syntax error\"\r\n\r\nCan you please fix this issue ? \r\n\r\nThanks\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ElemeFE/element-angular/issues/comments/363661905","html_url":"https://github.com/ElemeFE/element-angular/issues/13#issuecomment-363661905","issue_url":"https://api.github.com/repos/ElemeFE/element-angular/issues/13","id":363661905,"user":{"login":"leihg","id":19809782,"avatar_url":"https://avatars2.githubusercontent.com/u/19809782?v=4","gravatar_id":"","url":"https://api.github.com/users/leihg","html_url":"https://github.com/leihg","followers_url":"https://api.github.com/users/leihg/followers","following_url":"https://api.github.com/users/leihg/following{/other_user}","gists_url":"https://api.github.com/users/leihg/gists{/gist_id}","starred_url":"https://api.github.com/users/leihg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leihg/subscriptions","organizations_url":"https://api.github.com/users/leihg/orgs","repos_url":"https://api.github.com/users/leihg/repos","events_url":"https://api.github.com/users/leihg/events{/privacy}","received_events_url":"https://api.github.com/users/leihg/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T05:31:00Z","updated_at":"2018-02-07T05:31:00Z","author_association":"NONE","body":"\n\n\n\n你好！\n按照你的方法做了相关IE的兼容处理，还是没有解决问题，看问题好像是没有将es6语法转换为es5，在IE11下面报错，怎么也找不到解决的办法，去掉element-angular组件，在IE11下面就不报错了，加上就报错，特喜欢你们的组件，但是...,哎，愁死了哦！\n报错信息：\n见图片\n\n\n\n\n\n\n---------------------------------------------------------------\n中瑞金服研发中心公共研发部框架组\nTel: 13589299411\nEmail：13589299411@163.com\nAddress：青岛市市北区黑龙江南路2号万科中心C座10F\nEn：Qingdao Lunz Technology Software Co. Ltd.\nOn 2/6/2018 23:47，Sancho66<notifications@github.com> wrote：\n\nI have included all polyfills as mentionned on https://angular.io/guide/browser-support and added \"\" on my tag.\n\nHere is my polyfills imports in polyfill.ts :\n/***************************************************************************************************\n\nBROWSER POLYFILLS\n*/\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\nimport 'core-js/es6/symbol';\nimport 'core-js/es6/object';\nimport 'core-js/es6/function';\nimport 'core-js/es6/parse-int';\nimport 'core-js/es6/parse-float';\nimport 'core-js/es6/number';\nimport 'core-js/es6/math';\nimport 'core-js/es6/string';\nimport 'core-js/es6/date';\nimport 'core-js/es6/array';\nimport 'core-js/es6/regexp';\nimport 'core-js/es6/map';\nimport 'core-js/es6/weak-map';\nimport 'core-js/es6/set';\nimport 'core-js/es7/array';\nimport 'core-js/client/shim';\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\nimport 'classlist.js'; // Run npm install --save classlist.js.\n\n/** IE10 and IE11 requires the following for the Reflect API. */\nimport 'core-js/es6/reflect';\n\n/** Evergreen browsers require these. **/\n// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.\nimport 'core-js/es7/array';\nimport 'core-js/es7/reflect';\n\nimport 'web-animations-js'\n\n/***************************************************************************************************\n\nZone JS is required by default for Angular itself.\n*/\nimport 'zone.js/dist/zone'; // Included with Angular CLI.\n\nimport 'intl';\nimport 'intl/locale-data/complete.js';\nimport 'intl/locale-data/jsonp/en.js';\n\nand my ts.config.json :\n\n{\n\"compileOnSave\": false,\n\"compilerOptions\": {\n\"outDir\": \"./dist/out-tsc\",\n\"sourceMap\": true,\n\"declaration\": false,\n\"moduleResolution\": \"node\",\n\"emitDecoratorMetadata\": true,\n\"experimentalDecorators\": true,\n\"module\": \"commonjs\",\n\"target\": \"es6\",\n\"typeRoots\": [\n\"node_modules/@types\"\n],\n\"lib\": [\n\"es2017\",\n\"dom\"\n]\n}\n}\n\n\nor\n\n{ \"compileOnSave\": false, \"compilerOptions\": { \"outDir\": \"./dist/out-tsc\", \"sourceMap\": true, \"declaration\": false, \"moduleResolution\": \"node\", \"emitDecoratorMetadata\": true, \"experimentalDecorators\": true, \"target\": \"es5\", \"typeRoots\": [ \"node_modules/@types\" ], \"lib\": [ \"es2017\", \"dom\" ] } }\n\nand it still does not work on IE11 ...It is very frustrating.\n\n—\nYou are receiving this because you are subscribed to this thread.\nReply to this email directly, view it on GitHub, or mute the thread."}}
{"actor":{"display_login":"leihg"}}