From 8b3efdf229bfc9f1dd0f212845f31dfa82b0863d Mon Sep 17 00:00:00 2001 From: Jeff Cross Date: Thu, 9 Jul 2015 09:32:22 -0700 Subject: [PATCH] chore(pipes): rename pipe_registry.ts -> pipes.ts This is its own commit so that tools have an easier time of preserving history of the file, by keeping the diff between pipes.ts and pipe_registry.ts minimal. Also moved pipe_registry_spec.ts --- modules/angular2/change_detection.ts | 2 +- modules/angular2/src/change_detection/change_detection.ts | 2 +- .../angular2/src/change_detection/dynamic_change_detector.ts | 2 +- .../src/change_detection/pipes/{pipe_registry.ts => pipes.ts} | 0 .../src/change_detection/pregen_proto_change_detector.dart | 2 +- modules/angular2/src/directives/class.ts | 2 +- modules/angular2/src/directives/ng_style.ts | 2 +- .../pipes/{pipe_registry_spec.ts => pipes_spec.ts} | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename modules/angular2/src/change_detection/pipes/{pipe_registry.ts => pipes.ts} (100%) rename modules/angular2/test/change_detection/pipes/{pipe_registry_spec.ts => pipes_spec.ts} (99%) diff --git a/modules/angular2/change_detection.ts b/modules/angular2/change_detection.ts index 16a241c635..1c5dbfa0e8 100644 --- a/modules/angular2/change_detection.ts +++ b/modules/angular2/change_detection.ts @@ -43,7 +43,7 @@ export {BindingRecord} from './src/change_detection/binding_record'; export {DirectiveIndex, DirectiveRecord} from './src/change_detection/directive_record'; export {DynamicChangeDetector} from './src/change_detection/dynamic_change_detector'; export {ChangeDetectorRef} from './src/change_detection/change_detector_ref'; -export {PipeRegistry} from './src/change_detection/pipes/pipe_registry'; +export {PipeRegistry} from './src/change_detection/pipes/pipes'; export {uninitialized} from './src/change_detection/change_detection_util'; export {WrappedValue, Pipe, PipeFactory, BasePipe} from './src/change_detection/pipes/pipe'; export {NullPipe, NullPipeFactory} from './src/change_detection/pipes/null_pipe'; diff --git a/modules/angular2/src/change_detection/change_detection.ts b/modules/angular2/src/change_detection/change_detection.ts index 015707e869..3567d770eb 100644 --- a/modules/angular2/src/change_detection/change_detection.ts +++ b/modules/angular2/src/change_detection/change_detection.ts @@ -2,7 +2,7 @@ import {JitProtoChangeDetector} from './jit_proto_change_detector'; import {PregenProtoChangeDetector} from './pregen_proto_change_detector'; import {DynamicProtoChangeDetector} from './proto_change_detector'; import {PipeFactory, Pipe} from './pipes/pipe'; -import {PipeRegistry} from './pipes/pipe_registry'; +import {PipeRegistry} from './pipes/pipes'; import {IterableChangesFactory} from './pipes/iterable_changes'; import {KeyValueChangesFactory} from './pipes/keyvalue_changes'; import {ObservablePipeFactory} from './pipes/observable_pipe'; diff --git a/modules/angular2/src/change_detection/dynamic_change_detector.ts b/modules/angular2/src/change_detection/dynamic_change_detector.ts index c747a5faf8..95a07c90f2 100644 --- a/modules/angular2/src/change_detection/dynamic_change_detector.ts +++ b/modules/angular2/src/change_detection/dynamic_change_detector.ts @@ -4,7 +4,7 @@ import {Locals} from 'angular2/src/change_detection/parser/locals'; import {AbstractChangeDetector} from './abstract_change_detector'; import {BindingRecord} from './binding_record'; -import {PipeRegistry} from './pipes/pipe_registry'; +import {PipeRegistry} from './pipes/pipes'; import {ChangeDetectionUtil, SimpleChange, uninitialized} from './change_detection_util'; diff --git a/modules/angular2/src/change_detection/pipes/pipe_registry.ts b/modules/angular2/src/change_detection/pipes/pipes.ts similarity index 100% rename from modules/angular2/src/change_detection/pipes/pipe_registry.ts rename to modules/angular2/src/change_detection/pipes/pipes.ts diff --git a/modules/angular2/src/change_detection/pregen_proto_change_detector.dart b/modules/angular2/src/change_detection/pregen_proto_change_detector.dart index 48ab1ad497..6af6d9f4dd 100644 --- a/modules/angular2/src/change_detection/pregen_proto_change_detector.dart +++ b/modules/angular2/src/change_detection/pregen_proto_change_detector.dart @@ -15,7 +15,7 @@ export 'package:angular2/src/change_detection/directive_record.dart' show DirectiveIndex, DirectiveRecord; export 'package:angular2/src/change_detection/interfaces.dart' show ChangeDetector, ChangeDetectorDefinition, ProtoChangeDetector; -export 'package:angular2/src/change_detection/pipes/pipe_registry.dart' +export 'package:angular2/src/change_detection/pipes/pipes.dart' show PipeRegistry; export 'package:angular2/src/change_detection/proto_record.dart' show ProtoRecord; diff --git a/modules/angular2/src/directives/class.ts b/modules/angular2/src/directives/class.ts index 3fce6a0f1c..aea36ea0bc 100644 --- a/modules/angular2/src/directives/class.ts +++ b/modules/angular2/src/directives/class.ts @@ -1,6 +1,6 @@ import {Directive, onCheck} from 'angular2/annotations'; import {ElementRef} from 'angular2/core'; -import {PipeRegistry} from 'angular2/src/change_detection/pipes/pipe_registry'; +import {PipeRegistry} from 'angular2/src/change_detection/pipes/pipes'; import {Pipe} from 'angular2/src/change_detection/pipes/pipe'; import {Renderer} from 'angular2/src/render/api'; import {KeyValueChanges} from 'angular2/src/change_detection/pipes/keyvalue_changes'; diff --git a/modules/angular2/src/directives/ng_style.ts b/modules/angular2/src/directives/ng_style.ts index a3f18c5372..db401e81de 100644 --- a/modules/angular2/src/directives/ng_style.ts +++ b/modules/angular2/src/directives/ng_style.ts @@ -1,7 +1,7 @@ import {Directive, onCheck} from 'angular2/annotations'; import {ElementRef} from 'angular2/core'; import {Pipe} from 'angular2/src/change_detection/pipes/pipe'; -import {PipeRegistry} from 'angular2/src/change_detection/pipes/pipe_registry'; +import {PipeRegistry} from 'angular2/src/change_detection/pipes/pipes'; import {KeyValueChanges} from 'angular2/src/change_detection/pipes/keyvalue_changes'; import {isPresent, print} from 'angular2/src/facade/lang'; import {Renderer} from 'angular2/src/render/api'; diff --git a/modules/angular2/test/change_detection/pipes/pipe_registry_spec.ts b/modules/angular2/test/change_detection/pipes/pipes_spec.ts similarity index 99% rename from modules/angular2/test/change_detection/pipes/pipe_registry_spec.ts rename to modules/angular2/test/change_detection/pipes/pipes_spec.ts index f505de9987..84dc5bc8b4 100644 --- a/modules/angular2/test/change_detection/pipes/pipe_registry_spec.ts +++ b/modules/angular2/test/change_detection/pipes/pipes_spec.ts @@ -11,7 +11,7 @@ import { SpyPipeFactory } from 'angular2/test_lib'; -import {PipeRegistry} from 'angular2/src/change_detection/pipes/pipe_registry'; +import {PipeRegistry} from 'angular2/src/change_detection/pipes/pipes'; export function main() { describe("pipe registry", () => {