diff --git a/src/core/scene/a-scene.js b/src/core/scene/a-scene.js index 52d67bc994e..2520dfb88a5 100644 --- a/src/core/scene/a-scene.js +++ b/src/core/scene/a-scene.js @@ -14,7 +14,6 @@ var initPostMessageAPI = require('./postMessage'); var isIOS = utils.device.isIOS(); var isMobile = utils.device.isMobile(); var isWebXRAvailable = utils.device.isWebXRAvailable; -var warn = utils.debug('core:a-scene:warn'); if (isIOS) { require('../../utils/ios-orientationchange-blank-bug'); } @@ -500,15 +499,6 @@ class AScene extends AEntity { return AEntity.prototype.getAttribute.call(this, attr); } - /** - * `getAttribute` used to be `getDOMAttribute` and `getComputedAttribute` used to be - * what `getAttribute` is now. Now legacy code. - */ - getComputedAttribut (attr) { - warn('`getComputedAttribute` is deprecated. Use `getAttribute` instead.'); - this.getAttribute(attr); - } - /** * Wraps Entity.getDOMAttribute to take into account for systems. * If system exists, then return system data rather than possible component data.