annotate src/polyfills.ts @ 380:b81ed55fdee3

Basic notes component in place. Room for reducing dupe across these WaveComponent derived components, but will wait until all of them are implemented to see the common logic.
author Lucas Thompson <dev@lucas.im>
date Wed, 31 May 2017 15:15:55 +0100
parents 53ea6406d601
children 8a866ee7c75f
rev   line source
dev@236 1 /**
dev@236 2 * This file includes polyfills needed by Angular and is loaded before the app.
dev@236 3 * You can add your own extra polyfills to this file.
dev@236 4 *
dev@236 5 * This file is divided into 2 sections:
dev@236 6 * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
dev@236 7 * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
dev@236 8 * file.
dev@236 9 *
dev@236 10 * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
dev@236 11 * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
dev@236 12 * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
dev@236 13 *
dev@236 14 * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
dev@236 15 */
dev@236 16
dev@236 17 /***************************************************************************************************
dev@236 18 * BROWSER POLYFILLS
dev@236 19 */
dev@236 20
dev@236 21 /** IE9, IE10 and IE11 requires all of the following polyfills. **/
angular-cli@0 22 import 'core-js/es6/symbol';
angular-cli@0 23 import 'core-js/es6/object';
angular-cli@0 24 import 'core-js/es6/function';
angular-cli@0 25 import 'core-js/es6/parse-int';
angular-cli@0 26 import 'core-js/es6/parse-float';
angular-cli@0 27 import 'core-js/es6/number';
angular-cli@0 28 import 'core-js/es6/math';
angular-cli@0 29 import 'core-js/es6/string';
angular-cli@0 30 import 'core-js/es6/date';
angular-cli@0 31 import 'core-js/es6/array';
angular-cli@0 32 import 'core-js/es6/regexp';
angular-cli@0 33 import 'core-js/es6/map';
angular-cli@0 34 import 'core-js/es6/set';
dev@236 35
dev@236 36 /** IE10 and IE11 requires the following for NgClass support on SVG elements */
dev@236 37 // import 'classlist.js'; // Run `npm install --save classlist.js`.
dev@236 38
dev@236 39 /** IE10 and IE11 requires the following to support `@angular/animation`. */
dev@236 40 // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
dev@236 41
dev@236 42
dev@236 43 /** Evergreen browsers require these. **/
angular-cli@0 44 import 'core-js/es6/reflect';
dev@236 45 import 'core-js/es7/reflect';
angular-cli@0 46
dev@236 47
dev@236 48 /** ALL Firefox browsers require the following to support `@angular/animation`. **/
dev@236 49 // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
dev@236 50
dev@236 51
dev@236 52
dev@236 53 /***************************************************************************************************
dev@236 54 * Zone JS is required by Angular itself.
dev@236 55 */
dev@236 56 import 'zone.js/dist/zone'; // Included with Angular CLI.
dev@236 57
dev@236 58
dev@236 59
dev@236 60 /***************************************************************************************************
dev@236 61 * APPLICATION IMPORTS
dev@236 62 */
dev@236 63
dev@236 64 /**
dev@236 65 * Date, currency, decimal and percent pipes.
dev@236 66 * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
dev@236 67 */
dev@236 68 // import 'intl'; // Run `npm install --save intl`.
dev@3 69 import 'hammerjs';