
committed by
Igor Minar

parent
f48b343af1
commit
0f5c70d563
@ -47,8 +47,8 @@ export abstract class DomAdapter {
|
||||
* Maps attribute names to their corresponding property names for cases
|
||||
* where attribute name doesn't match property name.
|
||||
*/
|
||||
get attrToPropMap(): {[key: string]: string} { return this._attrToPropMap; };
|
||||
set attrToPropMap(value: {[key: string]: string}) { this._attrToPropMap = value; };
|
||||
get attrToPropMap(): {[key: string]: string} { return this._attrToPropMap; }
|
||||
set attrToPropMap(value: {[key: string]: string}) { this._attrToPropMap = value; }
|
||||
/** @internal */
|
||||
_attrToPropMap: {[key: string]: string};
|
||||
|
||||
|
@ -65,7 +65,7 @@ export class DomRendererFactory2 implements RendererFactory2 {
|
||||
|
||||
constructor(private eventManager: EventManager, private sharedStylesHost: DomSharedStylesHost) {
|
||||
this.defaultRenderer = new DefaultDomRenderer2(eventManager);
|
||||
};
|
||||
}
|
||||
|
||||
createRenderer(element: any, type: RendererType2|null): Renderer2 {
|
||||
if (!element || !type) {
|
||||
|
@ -75,5 +75,5 @@ export abstract class EventManagerPlugin {
|
||||
throw new Error(`Unsupported event target ${target} for event ${eventName}`);
|
||||
}
|
||||
return this.addEventListener(target, eventName, handler);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user