mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(EventManager): remove ListWrapper (#11363)
This commit is contained in:
parent
ee88c3c976
commit
7192fec841
1 changed files with 1 additions and 4 deletions
|
|
@ -8,9 +8,6 @@
|
|||
|
||||
import {Inject, Injectable, NgZone, OpaqueToken} from '@angular/core';
|
||||
|
||||
import {ListWrapper} from '../../facade/collection';
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @stable
|
||||
|
|
@ -26,7 +23,7 @@ export class EventManager {
|
|||
|
||||
constructor(@Inject(EVENT_MANAGER_PLUGINS) plugins: EventManagerPlugin[], private _zone: NgZone) {
|
||||
plugins.forEach(p => p.manager = this);
|
||||
this._plugins = ListWrapper.reversed(plugins);
|
||||
this._plugins = plugins.slice().reverse();
|
||||
}
|
||||
|
||||
addEventListener(element: HTMLElement, eventName: string, handler: Function): Function {
|
||||
|
|
|
|||
Loading…
Reference in a new issue