diff --git a/packages/animations/browser/src/dsl/animation_timeline_visitor.ts b/packages/animations/browser/src/dsl/animation_timeline_visitor.ts index a2d5f03d5c..d44a768ad2 100644 --- a/packages/animations/browser/src/dsl/animation_timeline_visitor.ts +++ b/packages/animations/browser/src/dsl/animation_timeline_visitor.ts @@ -51,7 +51,7 @@ import {AnimationTimelineInstruction, createTimelineInstruction} from './animati * [TimelineBuilder] * This class is responsible for tracking the styles and building a series of keyframe objects for a * timeline between a start and end time. The builder starts off with an initial timeline and each - * time the AST comes across a `group()`, `keyframes()` or a combination of the two wihtin a + * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a * `sequence()` then it will generate a sub timeline for each step as well as a new one after * they are complete. * @@ -83,7 +83,7 @@ import {AnimationTimelineInstruction, createTimelineInstruction} from './animati * from all previous keyframes up until where it is first used. For the timeline keyframe generation * to properly fill in the style it will place the previous value (the value from the parent * timeline) or a default value of `*` into the backFill object. Given that each of the keyframe - * styles are objects that prototypically inhert from the backFill object, this means that if a + * styles are objects that prototypically inherited from the backFill object, this means that if a * value is added into the backFill then it will automatically propagate any missing values to all * keyframes. Therefore the missing `height` value will be properly filled into the already * processed keyframes. @@ -92,7 +92,7 @@ import {AnimationTimelineInstruction, createTimelineInstruction} from './animati * styles present within the sub-timeline do not accidentally seep into the previous/future timeline * keyframes * - * (For prototypically-inherited contents to be detected a `for(i in obj)` loop must be used.) + * (For prototypically inherited contents to be detected a `for(i in obj)` loop must be used.) * * [Validation] * The code in this file is not responsible for validation. That functionality happens with within diff --git a/packages/benchpress/src/metric/perflog_metric.ts b/packages/benchpress/src/metric/perflog_metric.ts index d1371c826f..a3b2bbebfd 100644 --- a/packages/benchpress/src/metric/perflog_metric.ts +++ b/packages/benchpress/src/metric/perflog_metric.ts @@ -272,7 +272,7 @@ export class PerflogMetric extends Metric { } else if (this._receivedData && name === 'receivedData' && ph === 'I') { result['receivedData'] += event['args']['encodedDataLength']; } - if (ph === 'B' && name === _MARK_NAME_FRAME_CAPUTRE) { + if (ph === 'B' && name === _MARK_NAME_FRAME_CAPTURE) { if (frameCaptureStartEvent) { throw new Error('can capture frames only once per benchmark run'); } @@ -281,7 +281,7 @@ export class PerflogMetric extends Metric { 'found start event for frame capture, but frame capture was not requested in benchpress'); } frameCaptureStartEvent = event; - } else if (ph === 'E' && name === _MARK_NAME_FRAME_CAPUTRE) { + } else if (ph === 'E' && name === _MARK_NAME_FRAME_CAPTURE) { if (!frameCaptureStartEvent) { throw new Error('missing start event for frame capture'); } @@ -366,6 +366,6 @@ const _MICRO_ITERATIONS_REGEX = /(.+)\*(\d+)$/; const _MAX_RETRY_COUNT = 20; const _MARK_NAME_PREFIX = 'benchpress'; -const _MARK_NAME_FRAME_CAPUTRE = 'frameCapture'; +const _MARK_NAME_FRAME_CAPTURE = 'frameCapture'; // using 17ms as a somewhat looser threshold, instead of 16.6666ms const _FRAME_TIME_SMOOTH_THRESHOLD = 17; diff --git a/packages/common/src/directives/index.ts b/packages/common/src/directives/index.ts index 566def21f9..b78d57678c 100644 --- a/packages/common/src/directives/index.ts +++ b/packages/common/src/directives/index.ts @@ -55,6 +55,6 @@ export const COMMON_DIRECTIVES: Provider[] = [ ]; /** - * A colletion of deprecated directives that are no longer part of the core module. + * A collection of deprecated directives that are no longer part of the core module. */ export const COMMON_DEPRECATED_DIRECTIVES: Provider[] = [NgFor];