chore(packaging): move files to match target file structure
This commit is contained in:
13
modules/angular2/src/core/dom/element.js
vendored
Normal file
13
modules/angular2/src/core/dom/element.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
import {DOM, Element} from 'facade/src/dom';
|
||||
import {normalizeBlank} from 'facade/src/lang';
|
||||
|
||||
export class NgElement {
|
||||
domElement:Element;
|
||||
constructor(domElement:Element) {
|
||||
this.domElement = domElement;
|
||||
}
|
||||
|
||||
getAttribute(name:string) {
|
||||
return normalizeBlank(DOM.getAttribute(this.domElement, name));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user