mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 11:52:54 +00:00 
			
		
		
		
	Add polyfills to support MSIE
This commit is contained in:
		@@ -24,6 +24,7 @@
 | 
				
			|||||||
    "@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.9",
 | 
					    "@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.9",
 | 
				
			||||||
    "bootstrap": "^4.0.0",
 | 
					    "bootstrap": "^4.0.0",
 | 
				
			||||||
    "brace": "^0.11.0",
 | 
					    "brace": "^0.11.0",
 | 
				
			||||||
 | 
					    "classlist.js": "^1.1.20150312",
 | 
				
			||||||
    "core-js": "^2.4.1",
 | 
					    "core-js": "^2.4.1",
 | 
				
			||||||
    "ng2-ace-editor": "^0.3.4",
 | 
					    "ng2-ace-editor": "^0.3.4",
 | 
				
			||||||
    "node-sass": "^4.7.2",
 | 
					    "node-sass": "^4.7.2",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,26 +19,26 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
 | 
					/** IE9, IE10 and IE11 requires all of the following polyfills. **/
 | 
				
			||||||
// import 'core-js/es6/symbol';
 | 
					import 'core-js/es6/symbol';
 | 
				
			||||||
// import 'core-js/es6/object';
 | 
					import 'core-js/es6/object';
 | 
				
			||||||
// import 'core-js/es6/function';
 | 
					import 'core-js/es6/function';
 | 
				
			||||||
// import 'core-js/es6/parse-int';
 | 
					import 'core-js/es6/parse-int';
 | 
				
			||||||
// import 'core-js/es6/parse-float';
 | 
					import 'core-js/es6/parse-float';
 | 
				
			||||||
// import 'core-js/es6/number';
 | 
					import 'core-js/es6/number';
 | 
				
			||||||
// import 'core-js/es6/math';
 | 
					import 'core-js/es6/math';
 | 
				
			||||||
// import 'core-js/es6/string';
 | 
					import 'core-js/es6/string';
 | 
				
			||||||
// import 'core-js/es6/date';
 | 
					import 'core-js/es6/date';
 | 
				
			||||||
// import 'core-js/es6/array';
 | 
					import 'core-js/es6/array';
 | 
				
			||||||
// import 'core-js/es6/regexp';
 | 
					import 'core-js/es6/regexp';
 | 
				
			||||||
// import 'core-js/es6/map';
 | 
					import 'core-js/es6/map';
 | 
				
			||||||
// import 'core-js/es6/weak-map';
 | 
					import 'core-js/es6/weak-map';
 | 
				
			||||||
// import 'core-js/es6/set';
 | 
					import 'core-js/es6/set';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
 | 
					/** IE10 and IE11 requires the following for NgClass support on SVG elements */
 | 
				
			||||||
// import 'classlist.js';  // Run `npm install --save classlist.js`.
 | 
					import 'classlist.js';  // Run `npm install --save classlist.js`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** IE10 and IE11 requires the following for the Reflect API. */
 | 
					/** IE10 and IE11 requires the following for the Reflect API. */
 | 
				
			||||||
// import 'core-js/es6/reflect';
 | 
					import 'core-js/es6/reflect';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** Evergreen browsers require these. **/
 | 
					/** Evergreen browsers require these. **/
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1072,6 +1072,10 @@ class-utils@^0.3.5:
 | 
				
			|||||||
    isobject "^3.0.0"
 | 
					    isobject "^3.0.0"
 | 
				
			||||||
    static-extend "^0.1.1"
 | 
					    static-extend "^0.1.1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					classlist.js@^1.1.20150312:
 | 
				
			||||||
 | 
					  version "1.1.20150312"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/classlist.js/-/classlist.js-1.1.20150312.tgz#1d70842f7022f08d9ac086ce69e5b250f2c57789"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean-css@4.1.x:
 | 
					clean-css@4.1.x:
 | 
				
			||||||
  version "4.1.9"
 | 
					  version "4.1.9"
 | 
				
			||||||
  resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.1.9.tgz#35cee8ae7687a49b98034f70de00c4edd3826301"
 | 
					  resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.1.9.tgz#35cee8ae7687a49b98034f70de00c4edd3826301"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user