Aframe: document.registerElement is deprecated

Created on 17 Dec 2018  路  1Comment  路  Source: aframevr/aframe

  • A-Frame Version: 0.8.2 (Date 2018-04-15, Commit #b20527f)
  • Platform / Device: Version 71.0.3578.98 (Official Build) (64-bit)

When i use aframe in chrome i get warning

document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.

Most helpful comment

It鈥檚 ok. We will eventually move to the new custom elements API but we have a polyfill / fallback at the moment on top of Mutation Observers. A-Frame won鈥檛 break.

>All comments

It鈥檚 ok. We will eventually move to the new custom elements API but we have a polyfill / fallback at the moment on top of Mutation Observers. A-Frame won鈥檛 break.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jcarpenter picture jcarpenter  路  4Comments

greggman picture greggman  路  4Comments

ghost picture ghost  路  3Comments

ngokevin picture ngokevin  路  5Comments

rich311 picture rich311  路  3Comments