Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Resolve issue with KeyRegistry blowing up on applications with weird ES6 shims #739

Merged
merged 1 commit into from
Oct 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/communication/message-factory.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import {DebugElement} from '@angular/core';

import {
Message,
MessageResponse,
Expand Down
4 changes: 1 addition & 3 deletions src/tree/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import {EventEmitter} from '@angular/core';

import {
AsyncSubject,
BehaviorSubject,
Expand Down Expand Up @@ -67,7 +65,7 @@ const loadMetadata =

if (instance != null && isScalar(instance) === false) {
switch (functionName(instance.constructor)) {
case functionName(EventEmitter):
case 'EventEmitter':
flags |= PropertyMetadata.EventEmitter;
break;
case functionName(AsyncSubject):
Expand Down
4 changes: 1 addition & 3 deletions src/tree/mutable-tree-factory.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import {DebugElement} from '@angular/core';

import {MutableTree} from './mutable-tree';
import {transform} from './transformer';
import {Node} from './node';
Expand Down Expand Up @@ -31,7 +29,7 @@ export interface ElementTransformResult {
}

export const createTreeFromElements =
(roots: Array<DebugElement>, options: SimpleOptions): ElementTransformResult => {
(roots: Array<any /* DebugElement */>, options: SimpleOptions): ElementTransformResult => {
const tree = new MutableTree();

/// Keep track of the number of nodes that we process as part of this transformation
Expand Down