Fix webcomponents.js.d.ts and test

This commit is contained in:
laco0416 2015-07-01 08:55:45 +09:00
parent 66e0f48463
commit 4a3cfb0f70
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ var XFoo = document.registerElement("x-foo", {
});
var xFoo = new XFoo();
xFoo.textContent = "";
document.body.appendChild(xFoo);
window.CustomElements.hasNative;
window.CustomElements.flags;

View File

@ -11,7 +11,7 @@ declare module webcomponents {
}
export interface CustomElementConstructor {
new():HTMLElement;
new(): HTMLElement;
}
export interface CustomElementsPolyfill {